Skip to content

Commit 26d733d

Browse files
committed
Package header formatting
1 parent bd343d4 commit 26d733d

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

gnuplot-context.el

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
;; Copyright (C) 2012-2013 Jon Oddie <[email protected]>
44

5-
;; Author: Jon Oddie <[email protected]>
6-
;; URL: https://github.com/emacs-gnuplot/gnuplot
5+
;; Author: Jon Oddie <[email protected]>
76

87
;; This file is not part of GNU Emacs.
98

@@ -62,20 +61,22 @@
6261
;; features was to do a complete parse of the command line. So that's
6362
;; what this package does. Instead of building a parse tree, it
6463
;; matches up until the token at point, and then either makes a list
65-
;; of possible completions, or sets the variables `gnuplot-context--eldoc' and
66-
;; `gnuplot-context--info-at-point' based on where it is in the grammar at that
67-
;; point.
64+
;; of possible completions, or sets the variables
65+
;; `gnuplot-context--eldoc' and `gnuplot-context--info-at-point' based
66+
;; on where it is in the grammar at that point.
6867
;;
6968
;; The parsing/matching process happens in two phases: tokenizing
70-
;; (`gnuplot-context--tokenize') and matching (`gnuplot-context--match-pattern'). In
71-
;; order to be able to construct a full list of possible completions
72-
;; via backtracking, the matching algorithm simulates a simple stack
73-
;; machine with continuations. At byte-compile time, the PEG-like
74-
;; grammar in S-expression notation (`gnuplot-grammar') is compiled
75-
;; down into a vector of "machine code" for the parsing machine (see
76-
;; `gnuplot-context--compile-pattern', `gnuplot-context--compile-grammar' and
77-
;; `gnuplot-context--compiled-grammar'). This is complicated, but it seems to
78-
;; work well enough, and it saves on the Emacs call stack.
69+
;; (`gnuplot-context--tokenize') and matching
70+
;; (`gnuplot-context--match-pattern'). In order to be able to
71+
;; construct a full list of possible completions via backtracking, the
72+
;; matching algorithm simulates a simple stack machine with
73+
;; continuations. At byte-compile time, the PEG-like grammar in
74+
;; S-expression notation (`gnuplot-grammar') is compiled down into a
75+
;; vector of "machine code" for the parsing machine (see
76+
;; `gnuplot-context--compile-pattern',
77+
;; `gnuplot-context--compile-grammar' and
78+
;; `gnuplot-context--compiled-grammar'). This is complicated, but it
79+
;; seems to work well enough, and it saves on the Emacs call stack.
7980
;;
8081
;; Compiling the grammar does require increasing `max-lisp-eval-depth'
8182
;; modestly. This shouldn't cause any problems on modern machines, and
@@ -88,9 +89,9 @@
8889
;; The pattern-matching language
8990
;; =============================
9091
;;
91-
;; The gnuplot-mode grammar (see `gnuplot-context--compiled-grammar') is a list
92-
;; of rules (RULE PATTERN), with each pattern written in S-expression
93-
;; notation as follows:
92+
;; The gnuplot-mode grammar (see `gnuplot-context--compiled-grammar')
93+
;; is a list of rules (RULE PATTERN), with each pattern written in
94+
;; S-expression notation as follows:
9495
;;
9596
;; any
9697
;; Match any token

gnuplot-gui.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
;; Copyright (C) 1998-2000 Bruce Ravel
44

5-
;; Author: Bruce Ravel <[email protected]>
6-
;; URL: https://github.com/emacs-gnuplot/gnuplot
5+
;; Author: Bruce Ravel <[email protected]>
76

87
;; This file is not part of GNU Emacs.
98

0 commit comments

Comments
 (0)