1. 21 Sep, 2015 7 commits
    • Eli Zaretskii's avatar
      Don't rely on defaults in decoding UTF-8 encoded Lisp files · db828f62
      Eli Zaretskii authored
      * lisp/replace.el:
      * lisp/textmodes/rst.el:
      * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
      db828f62
    • Paul Eggert's avatar
      Clarify or replace a few \u escapes. · 818fc6e1
      Paul Eggert authored
      * doc/lispref/nonascii.texi (Character Properties)
      More-detailed commentary for \u escapes.
      * lisp/progmodes/python.el (python--prettify-symbols-alist):
      * lisp/replace.el (query-replace-from-to-separator):
      * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
      (rst-mode-syntax-table):
      * lisp/whitespace.el (whitespace-display-mappings):
      Prefer actual character to \u escape when this makes the code
      easier to follow in the usual case where Unicode chars can be
      displayed.
      818fc6e1
    • Tassilo Horn's avatar
      Signal error on invalid regexp · aeb17b60
      Tassilo Horn authored
      * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries): Signal an
      error when the user tries searching with a regexp matching the empty
      string.
      aeb17b60
    • Dima Kogan's avatar
      Fix setting breakpoints when remote-debugging · 127bafdc
      Dima Kogan authored
      * lisp/progmodes/gud.el (gud-format-command): Send localized file
      names to the debugger running on the remote.  (Bug#13304)
      127bafdc
    • NicolasPetton's avatar
      Better docstring and parameter name for seq-find · 0a893f0c
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
      the parameter `sentinel' to `default'.
      
      * doc/lispref/sequences.texi (Sequence Functions): Update the
        documentation for `seq-find' accordingly.
      0a893f0c
    • Stefan Monnier's avatar
      Subject: * lisp/progmodes/prolog.el: Improve handling of if/then/else · 57d48c36
      Stefan Monnier authored
      (prolog-smie-rules): Accomodate standard if/then/else special indentation.
      (prolog-mode): Add . to electric-indent-chars.
      (prolog-electric--if-then-else): Re-indent the line before adding space
      after the new char (bug#21526).
      57d48c36
    • Mark Oteiza's avatar
      Add prettify symbols to python-mode · dadcf339
      Mark Oteiza authored
      lisp/progmodes/python.el (python-prettify-symbols-alist): New variable
      lisp/progmodes/python.el (python-mode): Use it
      dadcf339
  2. 20 Sep, 2015 11 commits
    • Stefan Monnier's avatar
    • Jostein Kjønigsen's avatar
      (compilation-error-regexp-alist-alist): Tone down guile-file · bf006d59
      Jostein Kjønigsen authored
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      Make guile-file a bit less enthusiastic (bug#21496).
      
      Copyright-paperwork-exempt: yes
      bf006d59
    • Drew Csillag's avatar
      * m4-mode.el (m4-font-lock-keywords): Fix m4_* highlighting · 65d5ebdf
      Drew Csillag authored
      * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
      of commands when they have a "m4_" prefix.
      65d5ebdf
    • Paul Eggert's avatar
      '.' -> `.' in doc string · c7e69c40
      Paul Eggert authored
      * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
      individual chars with grave quotes instead of straight quotes, as
      this works better when they are translated to curved quotes.
      c7e69c40
    • Michael Albinus's avatar
      Improve file notifications, especially for Tramp · f5bdcb32
      Michael Albinus authored
      * doc/lispref/files.texi (Magic File Names):
      Mention `file-notify-valid-p'.
      
      * doc/lispref/os.texi (File Notifications):
      Describe `file-notify-valid-p'.
      
      * etc/NEWS: Add `file-notify-valid-p'.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
      Improve implementation.
      (tramp-gvfs-monitor-file-process-filter): Rename from
      `tramp-gvfs-file-gvfs-monitor-file-process-filter'.  Delete
      process if appropriate.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
      Improve implementation.
      (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
      `tramp-sh-file-gvfs-monitor-dir-process-filter'.  Delete process
      if appropriate.
      (tramp-sh-inotifywait-process-filter): Rename from
      `tramp-sh-file-inotifywait-process-filter'.  Delete process if
      appropriate.
      
      * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
      Use `delete-process'
      (tramp-handle-file-notify-valid-p): Check also, that file or
      directory to be watched still exists.
      
      * test/automated/file-notify-tests.el (file-notify--test-timeout):
      New defun.  Use it at all places a timeout is needed.
      (file-notify--test-cleanup): Delete directories recursively.
      Cleanup also Tramp connections.
      (file-notify-test02-events): Add tests for `attribute-change'.
      (file-notify-test04-file-validity, file-notify-test05-dir-validity):
      Add tests for `file-notify-rm-watch'.
      f5bdcb32
    • Paul Eggert's avatar
      Use %s to format strings instead of splicing them · ab11a1cf
      Paul Eggert authored
      If FOO might contain quotes that are part of a file or variable
      name, the quotes should not be translated when showing FOO’s name
      in a diagnostic.  So, for example, (message (concat (FOO ": bar")))
      is not quite right, as it would translate FOO’s quotes.
      Change it to (message "%s: bar" FOO) instead.
      * lisp/allout.el (allout-process-exposed):
      * lisp/calc/calc-ext.el (calc-do-prefix-help):
      * lisp/calc/calc-store.el (calc-store-into):
      * lisp/calendar/todo-mode.el (todo-category-completions):
      * lisp/cedet/semantic/complete.el (semantic-completion-message):
      * lisp/org/ob-latex.el (convert-pdf):
      * lisp/org/org-crypt.el (org-crypt-check-auto-save):
      * lisp/org/ox-latex.el (org-latex-compile):
      * lisp/org/ox-man.el (org-man-compile):
      * lisp/org/ox-odt.el (org-odt--export-wrap):
      * lisp/org/ox-texinfo.el (org-texinfo-compile):
      * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
      * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
      (verilog-signals-combine-bus, verilog-read-defines)
      (verilog-getopt-file, verilog-expand-dirnames)
      (verilog-modi-lookup, verilog-modi-modport-lookup-one):
      * lisp/term/ns-win.el (ns-spi-service-call):
      Use %s to avoid translating quotes of file names etc. in diagnostics.
      ab11a1cf
    • Stefan Monnier's avatar
      * lisp/progmodes/js.el (js--syntax-begin-function): Remove. · 2ad2f8b0
      Stefan Monnier authored
      (js-mode): Don't set syntax-begin-function.
      2ad2f8b0
    • Stefan Monnier's avatar
      Don't assume syntax-begin-function is a symbol. · 9474c70a
      Stefan Monnier authored
      * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
      syntax-begin-function is a symbol.
      9474c70a
    • Eli Zaretskii's avatar
      Improve documentation of 'run-at-time' · 00a65e32
      Eli Zaretskii authored
      * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
      In particular, don't refer to 'diary-entry-time', because it is
      unavailable until diary-lib is loaded.  Also, refer to
      'timer-duration-words', not 'timer-duration', as the latter's doc
      string says nothing about the accepted strings.
      00a65e32
    • Jay Belanger's avatar
    • Ken Manheimer's avatar
      Repair pdbtrack so it follows transition from one remote file to another. · 89898fcd
      Ken Manheimer authored
      * python.el (python-pdbtrack-set-tracked-buffer).
      89898fcd
  3. 19 Sep, 2015 4 commits
  4. 18 Sep, 2015 4 commits
    • Wilson Snyder's avatar
      Fix checkdoc warnings. · ba349567
      Wilson Snyder authored
          * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
          (verilog-decls-princ) (verilog-modport-princ)
          (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
      ba349567
    • Wilson Snyder's avatar
      /svaha/wsnyder/d/log · 17e5f436
      Wilson Snyder authored
      17e5f436
    • Jay Belanger's avatar
      Fix the routine for help on Calc's prefixes. · fb875ee6
      Jay Belanger authored
      * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
      (calc-do-prefix-help): Use `read-char' to determine the next Calc
      command.
      fb875ee6
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove · 644c6b41
      Stefan Monnier authored
      (font-lock-fontify-block): Don't let-bind it.
      (font-lock-compile-keywords): Don't use it.
      (font-lock-set-defaults): Don't set it.  Allow the variable alist to
      start one slot earlier, instead.
      
      * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
      Don't declare.
      (syntax-ppss): Don't use it either.
      
      * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
      from docstring.
      
      * doc/emacs/display.texi (Font Lock): Don't mention
      font-lock-beginning-of-syntax-function.
      
      * doc/lispref/modes.texi (Font Lock Basics): Update description of
      font-lock-defaults.
      (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
      
      * lisp/loadhist.el (unload-feature-special-hooks):
      Remove font-lock-beginning-of-syntax-function.
      
      * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
      * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
      font-lock-beginning-of-syntax-function.
      644c6b41
  5. 17 Sep, 2015 4 commits
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
    • Paul Eggert's avatar
      Fix several backslash typos in Elisp strings · 753fbfbe
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
      (todo-find-filtered-items-file, todo-reset-nondiary-marker)
      (todo-reset-done-string, todo-reset-comment-string)
      (todo-reset-highlight-item):
      * lisp/erc/erc-networks.el (erc-networks-alist):
      * lisp/gnus/gnus-art.el (gnus-button-handle-library):
      * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      * lisp/gnus/spam-report.el (spam-report-gmane-regex):
      * lisp/image-dired.el (image-dired-rotate-original):
      (image-dired-get-exif-file-name):
      * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
      * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
      * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
      * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-docview.el (org-docview-export):
      * lisp/org/org-entities.el (org-entities):
      * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
      * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
      (ebnf-style-database):
      * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
      * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
      * lisp/progmodes/sql.el (sql-product-alist):
      * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
      (verilog-error-font-lock-keywords)
      (verilog-assignment-operator-re):
      * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
      * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
      * lisp/vc/add-log.el (change-log-version-number-regexp-list):
      Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
      For example, to get the regular expression ‘\.’ use the string
      literal "\\.", not "\." (which is equivalent to ".").
      * lisp/emulation/viper-util.el (viper-glob-unix-files):
      Remove stray ‘\j’ from string.
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      Treat > like $ when matching a shell prompt.
      * lisp/progmodes/make-mode.el (makefile-browse):
      Properly quote a diagnostic.
      753fbfbe
    • Paul Eggert's avatar
      Fix minor quoting problems in diagnostics · dc9e7022
      Paul Eggert authored
      * lisp/tutorial.el (tutorial--describe-nonstandard-key):
      * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
      Follow text-quoting-style in diagnostic, and quote a file name.
      dc9e7022
    • Paul Eggert's avatar
      e643aa95
  6. 16 Sep, 2015 6 commits
  7. 15 Sep, 2015 4 commits