summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into feature/byte-switchfeature/byte-switchVibhav Pant2017-02-1328-127/+158
|\
| * Fix non-ASCII text encoding (bug#25658)Katsumi Yamaoka2017-02-131-7/+15
| | | | | | | | | | * lisp/gnus/mm-bodies.el (mm-encode-body): Fix non-ASCII text encoding (bug#25658).
| * Fix recent bootstrap issue by moving string-to-listGlenn Morris2017-02-122-10/+8
| | | | | | | | | | | | | | | | * lisp/international/mule-util.el (string-to-list, string-to-vector): Move from here... * lisp/subr.el (string-to-list, string-to-vector): ...to here. The implementation is trivial and at least string-to-list has ended up being needed early during bootstrap.
| * Doc fixes related to mail-host-addressGlenn Morris2017-02-122-6/+3
| | | | | | | | | | | | * lisp/startup.el (mail-host-address): Doc fix. * doc/lispref/os.texi (System Environment): Remove extraneous details of mail-host-address.
| * Simplify time-stamp mail host usageGlenn Morris2017-02-121-12/+1
| | | | | | | | | | * lisp/time-stamp.el (time-stamp-mail-host-name): Remove function. (time-stamp-string-preprocess): Handle "h" (mail host) directly.
| * Doc fix for vhdl-mode re mail-host-addressGlenn Morris2017-02-121-2/+1
| | | | | | | | | | | | * lisp/progmodes/vhdl-mode.el (vhdl-file-header): Doc fix. (mail-host-address): Do not add to vhdl-related custom group, since vhdl-template-replace-header-keywords doesn't use it.
| * Substitute leading $HOME/ in xdg-user-dirsMark Oteiza2017-02-121-2/+9
| | | | | | | | | | | | * lisp/xdg.el (xdg--substitute-home-env): New function. (xdg--user-dirs-parse-line): Use it. (xdg-user-dir): Expand ~/ in xdg-user-dirs values.
| * * lisp/buff-menu.el: Turn on lexical-binding.Mark Oteiza2017-02-121-1/+1
| |
| * * lisp/replace.el (query-replace-from-to-separator): Move propertizeJuri Linkov2017-02-131-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | and char-displayable-p test to query-replace-read-from. Add choice nil to disable this feature. (query-replace-read-from): Don't reevaluate custom setting. Use char-displayable-p to test the first non-whitespace character in query-replace-from-to-separator, use " -> " when fails. Add prompt for the case when separator is nil but query-replace-defaults is non-nil. Remove unused test for regexp-flag. Thanks to Thierry Volpiatto <thierry.volpiatto@gmail.com>
| * Convert more uses of `looking-at' to `following-char'Karl Fogel2017-02-121-2/+2
| | | | | | | | | | | | | | | | | | This follows up to Mark Oteiza's commit of 12 Feb 2017, 14:46:03 UTC (commit 91478f46238a) with more of the same. * lisp/bookmark.el (bookmark-send-edited-annotation): (bookmark-bmenu-execute-deletions): Replace instances of looking-at with char comparisons using following-char.
| * Fix typos in tests for lax-plist-get etc.Paul Eggert2017-02-121-9/+9
| | | | | | | | | | | | | | Problem reported by Eli Zaretskii (Bug#25606#62). * test/src/fns-tests.el (test-cycle-lax-plist-get) (test-cycle-plist-put, test-cycle-lax-plist-put): Fix tests to match behavior.
| * Fix bug#25607Michael Albinus2017-02-121-10/+15
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-completion-file-name-handler): Improve autoloaded version. (tramp-autoload-file-name-handler): Avoid recursive load. (tramp-completion-handle-expand-file-name): Handle empty NAME. (Bug#25607)
| * Remove server-buffer-clients string from minor-mode-alistMark Oteiza2017-02-121-4/+0
| | | | | | | | | | * lisp/server.el: Don't put an element for server-buffer-clients into minor-mode-alist. (Bug#20201)
| * Nix some useless uses of looking-at, looking-backMark Oteiza2017-02-1211-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-kill-topic): (allout-next-topic-pending-encryption): * lisp/bookmark.el (bookmark-kill-line): * lisp/cus-edit.el (custom-save-variables, custom-save-faces): * lisp/cus-theme.el (custom-theme-write-variables): (custom-theme-write-faces): * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-loop): (checkdoc-interactive-ispell-loop): (checkdoc-message-interactive-ispell-loop, checkdoc-this-string-valid): (checkdoc-this-string-valid-engine): * lisp/emacs-lisp/elint.el (elint-get-top-forms): * lisp/emulation/viper-cmd.el (viper-backward-indent): * lisp/image-dired.el (image-dired-delete-char): * lisp/simple.el (kill-visual-line): Replace instances of looking-at, looking-back with char comparisons using following-char, preceding-char.
| * Recognize JS regexp literals more correctlyTom Tromey2017-02-112-18/+42
| | | | | | | | | | | | | | | | | | | | | | Bug#25529 * lisp/progmodes/js.el (js--syntax-propertize-regexp-regexp): New constant. (js-syntax-propertize-regexp): Use it. Remove "end" argument. (js--syntax-propertize-regexp-syntax-table): Remove. (js-syntax-propertize): Update. * test/lisp/progmodes/js-tests.el (js-mode-regexp-syntax-bug-25529): New test.
| * Fix bug in css--mdn-find-symbolTom Tromey2017-02-112-3/+6
| | | | | | | | | | | | | | * lisp/textmodes/css-mode.el (css--mdn-find-symbol): Skip whitespace before skipping word characters. test/lisp/textmodes/css-mode-tests.el (css-mdn-symbol-guessing): Add regression test.
* | ; Add more documentation for byte-switch related code.Vibhav Pant2017-02-132-3/+13
| |
* | test/lisp/emacs-lisp/bytecomp-tests.el: Add more tests for switch.Vibhav Pant2017-02-131-1/+6
| |
* | ; lisp/emacs-lisp/bytecomp.el: Fix indentation.Vibhav Pant2017-02-121-1/+1
| |
* | src/bytecode.c (exec_byte_code): Make hash_code a Lisp_Object.Vibhav Pant2017-02-111-2/+4
| | | | | | | | | | This avoids using XUINT every time while comparing it with HASH_HASH (h, i), replacing it with EQ.
* | src/bytecode.c (exec_byte_code): Remove unnecessary (e)assert.Vibhav Pant2017-02-111-4/+2
| |
* | ; src/bytecode.c (exec_byte_code): Refactor byte-switch code.Vibhav Pant2017-02-111-21/+14
| | | | | | | | Remove unnecessary asserts, remove duplicate code.
* | src/bytecode.c: Add optional sanity check for jump tables.Vibhav Pant2017-02-111-3/+4
| | | | | | | | | | * src/bytecode.c (exec_byte_code): When sanity checks are enabled, check that the jump table's size is equal to it's count.
* | Merge branch 'master' into feature/byte-switchVibhav Pant2017-02-1133-346/+964
|\ \ | |/
| * Fix handling of XBM images on MS-WindowsEli Zaretskii2017-02-111-2/+2
| | | | | | | | | | * src/image.c (xbm_load) [HAVE_NTGUI]: Fix calculation of 'nbytes' when inverting XBM data bits. (Bug#25661)
| * ; Fix typo in etc/NEWSMichael Albinus2017-02-111-2/+3
| |
| * Fix handling of PBM dataEli Zaretskii2017-02-111-1/+11
| | | | | | | | | | * src/image.c (pbm_load): Handle PBM data with no blanks between individual pixel values correctly. (Bug#25660)
| * Fix warnings in debug tracing codeNoam Postavsky2017-02-102-6/+6
| | | | | | | | | | | | * src/xdisp.c (dump_glyph, dump_glyph_string): * src/xfaces.c (dump_realized_face): Cast arguments or adjust format specifiers to match signedness.
| * Extract grep-find-ignored-directories processing from rgrep-default-commandSam Steingold2017-02-101-14/+12
| | | | | | | | | | | | | | (rgrep-find-ignored-directories): Extract from `rgrep-default-command'. Some Emacs packages use `grep-find-ignored-directories' to ignore some directories, so will use this function instead of custom code. (rgrep-default-command): Use `rgrep-find-ignored-directories'.
| * Fix a few integer-overflow glitchesPaul Eggert2017-02-104-55/+50
| | | | | | | | | | | | | | | | | | | | * src/composite.c (composition_compute_stop_pos, composition_reseat_it): * src/dispextern.h (struct composition_it.rule_idx): * src/keyboard.c (Fset__this_command_keys): * src/xwidget.c (webkit_js_to_lisp): Don’t assume object sizes fit in ‘int’. * src/xwidget.c (Fxwidget_resize): Don’t assume Emacs integers fit in ‘int’.
| * Fix a bug with displaying an image after a TABEli Zaretskii2017-02-101-1/+4
| | | | | | | | | | * src/xdisp.c (display_line): Handle TAB at end of screen line specially only when we are displaying characters. (Bug#25662)
| * Move cyclic tests to fns-tests.elPaul Eggert2017-02-102-314/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/fns-tests.el (cyc1, cyc2, dot1, dot2): New functions. (test-cycle-length, test-cycle-safe-length, test-cycle-member) (test-cycle-memq, test-cycle-memql, test-cycle-assq) (test-cycle-assoc, test-cycle-rassq, test-cycle-rassoc) (test-cycle-delq, test-cycle-delete, test-cycle-reverse) (test-cycle-plist-get, test-cycle-lax-plist-get) (test-cycle-plist-member, test-cycle-plist-put) (test-cycle-lax-plist-put, test-cycle-equal, test-cycle-nconc): New tests. * test/manual/cyclic-tests.el: File deleted.
| * Fix instrumenting code with propertized strings in EdebugGemini Lasswell2017-02-101-4/+2
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-read-function): Allow 'read' to decide what is and isn't a syntax error. (Bug#25068)
| * Improve fontification in bat-modeVladimir Panteleev2017-02-102-3/+94
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Match word and symbol constituents when looking for variable names to fontify; also, correct the syntax table and mark the equal sign (=) character as punctuation. Improve fontification accuracy of iteration/positional variables. (bat-mode): Set comment-start-skip. (Bug#25541) * test/lisp/progmodes/bat-mode-tests.el: New file, tests for bat-mode.el.
| * Restore special setting of this-command-keys by M-xEli Zaretskii2017-02-102-0/+28
| | | | | | | | | | | | | | | | | | | | It was lost when execute-extended-command was reimplemented in Lisp. * src/keyboard.c (Fset__this_command_keys): New function. (syms_of_keyboard): Defsubr it. * lisp/simple.el (execute-extended-command): Set this-command-keys as novice.el expects. (Bug#25612)
| * * lisp/isearch.el (isearch-search-fun-default): Set isearch-adjustedJuri Linkov2017-02-103-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to t to display "Pending" in the search prompt for lax word/symbol search (bug#25562). Don't use lax for lazy-highlighting when 'bound' is non-nil. (word-search-regexp, isearch-symbol-regexp): Don't depend on lax at the beginning of regexp (bug#22589). * lisp/info.el (Info-isearch-search): Use isearch--lax-regexp-function-p. * doc/emacs/search.texi (Word Search, Symbol Search): Mention "Pending" prompt for lax word/symbol search.
| * Ibuffer: Update mode documentationTino Calancha2017-02-091-1/+9
| | | | | | | | * lisp/ibuffer.el (ibuffer-mode): List newest commands in mode documentation.
| * Fix environment variable for xdg-data-dirsSteven Allen2017-02-091-1/+1
| | | | | | | | | | | | * lisp/xdg.el (xdg-data-dirs): Use XDG_DATA_DIRS, not XDG_CONFIG_DIRS Copyright-paperwork-exempt: yes
| * ; Theme updatesTassilo Horn2017-02-091-5/+16
| | | | | | | | ; * etc/themes/tsdh-light-theme.el (tsdh-light): Theme updates.
| * Ibuffer: Erase output buffer before shell commandsTino Calancha2017-02-092-3/+17
| | | | | | | | | | | | | | | | | | * lisp/ibuf-macs.el (define-ibuffer-op): Add keyword arguments BEFORE and AFTER; they are forms to run before/after the operation. * lisp/ibuf-ext.el (ibuffer--maybe-erase-shell-cmd-output): New defun; if shell-command-dont-erase-buffer is nil, then erase shell command output buffer. (ibuffer-do-shell-command-pipe, ibuffer-do-shell-command-file): Use it.
| * Ibuffer: Don't truncate shell command outputTino Calancha2017-02-091-15/+23
| | | | | | | | | | | | | | | | | | | | * lisp/ibuf-ext.el (ibuffer-do-shell-command-pipe) (ibuffer-do-shell-command-pipe-replace) Use 'call-shell-region' (Bug#22679). (ibuffer-do-shell-command-file): Use call-process-shell-command. If FILE, the file that the buffer object is visiting, exists and the buffer is up-to-date, then use FILE instead of creating a temporary file (Bug#22679).
| * Make sure eshell pipelines don't drop dataNoam Postavsky2017-02-081-2/+14
| | | | | | | | | | | | | | * lisp/eshell/esh-proc.el (eshell-sentinel): If called while still handling output of the process, make sure to close the pipes only later, so that the next process in the pipeline recieves EOF only after getting all its input (Bug#25549).
| * Make mm-shr use mail-parse-charset by defaultKatsumi Yamaoka2017-02-091-9/+10
| | | | | | | | | | * lisp/gnus/mm-decode.el (mm-shr): Use mail-parse-charset by default. This helps an html message with no charset spec to be decoded.
| * describe-char: unambiguous name for inserting ASCII 7Stephen Berman2017-02-081-4/+12
| | | | | | | | | | | | * lisp/descr-text.el (describe-char): Make the input suggestion for inserting ASCII character 7 by name use the unambiguous name "BELL (BEL)" (bug#25641).
| * Modify suppressing `vc-refresh-state' in filenotify-tests.elMichael Albinus2017-02-081-3/+4
| | | | | | | | | | * test/lisp/filenotify-tests.el (file-notify-test03-autorevert): Use an advice rather than an alias for suppressing `vc-refresh-state'.
| * Suppress undesired error messages in filenotify-tests.elMichael Albinus2017-02-071-0/+3
| | | | | | | | | | * test/lisp/filenotify-tests.el (file-notify-test03-autorevert): Suppress `vc-refresh-state', it produces undesired error messages.
| * Ensure that Gnus bugs show up in the Emacs trackerLars Ingebrigtsen2017-02-071-1/+1
| | | | | | | | | | * lisp/gnus/gnus.el (gnus-bug-package): Include Emacs in the package spec.
| * Revert "Don't tag Gnus bugs with "gnus""Lars Ingebrigtsen2017-02-072-1/+9
| | | | | | | | | | | | This reverts commit b6fa58072304c2a24f1fe8a0e06a4739a7f8211b. The debbugs syntax requires a package name
| * Add xdg libraryMark Oteiza2017-02-062-0/+146
| | | | | | | | | | * etc/NEWS: Mention new library. * lisp/xdg.el: New file.
| * Do not trick info/dir’s timestampPaul Eggert2017-02-061-5/+3
| | | | | | | | | | | | | | | | | | * Makefile.in (${srcdir}/info/dir): When making this file, do not do anything special about its timestamp. Previously this rule used move-if-change, which meant that this file’s timestamp could end up being older than the files it depends on, and this caused ‘make --question info’ to fail, which caused ‘make-dist’ to fail now that ‘make-dist’ invokes ‘make --question info’.