summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix command-line-normalize-file-name for DOS/Windows file names.Eli Zaretskii2013-03-162-6/+17
| | | | | | | lisp/startup.el (command-line-normalize-file-name): Fix handling of backslashes in DOS and Windows file names. Reported by Xue Fuqiao <xfq.free@gmail.com> in http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
* Sync with Tramp 2.2.7.Michael Albinus2013-03-152-2/+8
| | | | * net/trampver.el: Update release number.
* * doc-view.el Fix bug#13887.Tassilo Horn2013-03-142-9/+29
| | | | | | | | (doc-view-insert-image): Don't modify overlay associated to non-live windows, and implement horizontal centering of image in case it's smaller than the window. (doc-view-new-window-function): Force redisplay of new windows on doc-view buffers.
* * doc-view.el (doc-view-insert-image): Don't modify overlayTassilo Horn2013-03-142-38/+61
| | | | | | associated with pseudo winprops entry, and implement horizontal centering of image in case it's smaller than the window (bug#13887).
* * saveplace.el (save-place-alist-to-file): Don't sortKarl Fogel2013-03-132-3/+6
| | | | `save-place-alist', just pretty-print it (bug#13882).
* Fix last change.Michael Albinus2013-03-131-1/+1
|
* * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,Michael Albinus2013-03-132-5/+12
| | | | | whether `default-file-name-coding-system' is bound. It isn't in XEmacs.
* * lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Don't useStefan Monnier2013-03-122-1/+5
| | | | | | backquotes for `obsolete'. Fixes: debbugs:13929
* * lisp/international/mule.el (find-auto-coding): Include file name inStefan Monnier2013-03-122-2/+10
| | | | | | obsolescence warning. Fixes: debbugs:13922
* * progmodes/cfengine.el: add CFEngine 3-specific indentation.Ted Zlatanov2013-03-122-5/+92
|
* Prefer UTF-8 in documentation.Paul Eggert2013-03-116-21/+21
|
* Prefer UTF-8 in commentary.Paul Eggert2013-03-114-155/+155
|
* Use locate-user-emacs-file.Stefan Monnier2013-03-1116-30/+46
| | | | | | | | | | | | | | | | | * lisp/type-break.el (type-break-file-name): * lisp/textmodes/remember.el (remember-data-file): * lisp/strokes.el (strokes-file): * lisp/shadowfile.el (shadow-initialize): * lisp/saveplace.el (save-place-file): * lisp/ps-bdf.el (bdf-cache-file): * lisp/progmodes/idlwave.el (idlwave-config-directory): * lisp/net/quickurl.el (quickurl-url-file): * lisp/international/kkc.el (kkc-init-file-name): * lisp/ido.el (ido-save-directory-list-file): * lisp/emulation/viper.el (viper-custom-file-name): * lisp/emulation/vip.el (vip-startup-file): * lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top): * lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
* Switch encodings of tutorials, thai-word to UTF-8.Paul Eggert2013-03-112-10656/+10660
| | | | | | | | | | | | | | * etc/refcards/ru-refcard.tex: * etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.cn: * etc/tutorials/TUTORIAL.cs, etc/tutorials/TUTORIAL.de, etc/tutorials/TUTORIAL.eo: * etc/tutorials/TUTORIAL.es, etc/tutorials/TUTORIAL.fr, etc/tutorials/TUTORIAL.it: * etc/tutorials/TUTORIAL.nl, etc/tutorials/TUTORIAL.pl, etc/tutorials/TUTORIAL.pt_BR: * etc/tutorials/TUTORIAL.ro, etc/tutorials/TUTORIAL.sk, etc/tutorials/TUTORIAL.sv: * etc/tutorials/TUTORIAL.zh: * lisp/language/thai-word.el: Switch to UTF-8. Fixes: debbugs:13880
* * lisp/recentf.el (recentf-save-file): Use locate-user-emacs-file.Stefan Monnier2013-03-112-1/+5
| | | | Fixes: debbugs:13870
* * lisp/net/net-utils.el (net-utils-remove-ctrl-m-filter):Thierry Volpiatto2013-03-112-25/+18
| | | | | | Use with-current-buffer and don't move point. (net-utils-run-simple): Remove useless code. (net-utils-remove-ctl-m): Remove unused custom.
* * lisp/international/characters.el (glyphless-set-char-table-range): New fun.Per Starbäck2013-03-112-4/+17
| | | | | | (update-glyphless-char-display): Use it. Fixes: debbugs:13744
* Update ChangeLog for 2013-03-11T17:17:13Z!tzz@lifelogs.com.Ted Zlatanov2013-03-111-0/+7
|
* * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher.Ted Zlatanov2013-03-111-8/+10
|
* * lisp/progmodes/gdb-mi.el: Speed up initialization. Use lexical-binding.Jean-Philippe Gravel2013-03-112-167/+488
| | | | | | | | | | | | | | | | | | | | | | | | Fix up docstring according to conventions. (gdbmi-debug-mode): New var. (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init) (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt) (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record) (gdbmi-bnf-async-record, gdbmi-bnf-stream-record) (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output) (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl) (gdbmi-bnf-incomplete-record-result): New functions. (gdb-car<): Remove function. (gdbmi-record-list): Remove variable. (gdbmi-bnf-state, gdbmi-bnf-offset): New vars. (gdbmi-bnf-result-state-configs): New const. (gud-gdbmi-marker-filter): Rewrite. (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited) (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped): Add `token' argument. (gdb-done, gdb-error): New functions. (gdb-done-or-error): Add `is-complete' argument. Change arg order. Fixes: debbugs:10580
* * lisp/term/xterm.el (xterm--report-background-handler): Don't burpStefan Monnier2013-03-112-48/+65
| | | | | | | | | | upon timeout. (xterm--version-handler): Extract from terminal-init-xterm. (xterm--query): Don't mishandle timeout. Remove debugging messages. Allow multiple handlers. (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer. Fixes: debbugs:6758
* * lisp/term/xterm.el: Don't discard input. Use lexical-binding.Stefan Monnier2013-03-112-87/+97
| | | | | | | (xterm--report-background-handler, xterm--query): New functions. (terminal-init-xterm): Use them. Fixes: debbugs:6758
* * progmodes/sql.el Version 3.2Michael Mauger2013-03-112-152/+185
| | | | | | | | | | | | | | | | | | | Please note that my address changed to <michael@mauger.com>; the <mmaug@yahoo.com> address remains active. (sql-connection-alist): Updates documentation to fix bug#13715. (sql-connect): Handle missing `sql-connection-alist' correctly. (sql-mode-oracle-font-lock-keywords): Add missing keywords. (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection' property. (sql-default-value): New function. (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local values were not used. (sql-rename-buffer): Make sure alternate buffer name has no text properties. (sql-input-sender, sql-execute-feature): Fetch variable with `buffer-local-value' rather than `with-current-buffer'. (sql-*): Use #' function syntax consistently. (sql-*): Use message/error/user-error consistently.
* * lisp/xt-mouse.el (xterm-mouse-event-read): Remove.Stefan Monnier2013-03-102-20/+12
| | | | | (xterm-mouse--read-event-sequence-1000) (xterm-mouse--read-event-sequence-1006): Use read-event instead.
* * lisp/term/xterm.el (xterm-function-map): Support format used withStefan Monnier2013-03-102-114/+121
| | | | | | formatOtherKeys=1. Fixes: debbugs:13839
* * lisp/emacs-lisp/byte-run.el (dont-compile): Declare obsolete.Stefan Monnier2013-03-102-2/+5
| | | | (with-no-warnings): Use `declare'.
* * lisp/whitespace.el (whitespace-enable-predicate): New variable.Stefan Monnier2013-03-102-21/+26
| | | | (whitespace-enable-predicate): Use it.
* * lisp/comint.el: Use with-silent-modifications.Stefan Monnier2013-03-102-48/+54
| | | | | (comint-send-input, comint-snapshot-last-prompt) (comint-output-filter, comint-update-fence): Use with-silent-modifications.
* Provide for customizing default regexp in occur commands (Bug#13892).Jambunathan K2013-03-102-1/+27
| | | | | | * lisp/replace.el (occur-read-regexp-defaults-function): New var. (occur-read-regexp-defaults): New defun. (occur-read-primary-args): Propagate above change.
* * lisp/mouse.el (mouse-drag-track): Remove left-over debugging code.Stefan Monnier2013-03-092-4/+7
|
* Major rewrite due to changed D-Bus interface of GVFS 1.14.Michael Albinus2013-03-094-385/+751
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-gvfs.el (top): Extend check for gvfs availability. (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts) (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature): New defconst. (tramp-gvfs-file-name-handler-alist) [directory-files]: [directory-files-and-attributes, file-exists-p, file-modes]: Use Tramp default handler. [file-acl, file-selinux-context, process-file, set-file-acl]: [set-file-modes, set-file-selinux-context, shell-command]: [start-file-process ]: Remove handler. [verify-visited-file-modtime]: New handler. (tramp-gvfs-dbus-string-to-byte-array) (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all calls of `dbus-string-to-byte-array' and `tramp-gvfs-dbus-byte-array-to-string'. (tramp-gvfs-handle-copy-file) (tramp-gvfs-handle-delete-directory) (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes) (tramp-gvfs-handle-file-directory-p) (tramp-gvfs-handle-file-executable-p) (tramp-gvfs-handle-file-name-all-completions) (tramp-gvfs-handle-file-readable-p) (tramp-gvfs-handle-file-writable-p) (tramp-gvfs-handle-insert-directory) (tramp-gvfs-handle-insert-file-contents) (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file) (tramp-gvfs-handle-set-visited-file-modtime) (tramp-gvfs-handle-write-region): Rewrite. (tramp-gvfs-handle-file-acl) (tramp-gvfs-handle-file-selinux-context) (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl) (tramp-gvfs-handle-set-file-modes) (tramp-gvfs-handle-set-file-selinux-context) (tramp-gvfs-handle-shell-command) (tramp-gvfs-handle-start-file-process) (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns. (tramp-gvfs-url-file-name): Do not use `file-truename', we work over the symlinks. Fix user handling. (top, tramp-gvfs-handler-mounted-unmounted): Handle different names of the D-Bus signals. (tramp-gvfs-connection-mounted-p): Handle different names of the D-Bus methods. (tramp-gvfs-mount-spec-entry): New defun. (tramp-gvfs-mount-spec): Use it. (tramp-gvfs-maybe-open-connection): Check, that in case of "smb" there is a share name. Handle different names of the D-Bus signals and methods. (tramp-gvfs-maybe-open-connection): Set connection properties needed for `tramp-check-cached-permissions'. (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'. Return t or nil. * net/tramp.el (tramp-backtrace): Move up. (tramp-error): Apply a backtrace into the debug buffer when `tramp-verbose > 9. (tramp-file-mode-type-map, tramp-file-mode-from-int) (tramp-file-mode-permissions, tramp-get-local-uid) (tramp-get-local-gid, tramp-check-cached-permissions): Move from tramp-sh.el. * net/tramp-sh.el (tramp-file-mode-type-map) (tramp-check-cached-permissions, tramp-file-mode-from-int) (tramp-file-mode-permissions, tramp-get-local-uid) (tramp-get-local-gid): Move to tramp.el.
* Separate mouse-1-click-follows-link from mouse-drag-region.Stefan Monnier2013-03-082-58/+61
| | | | | | | | | | | | * lisp/mouse.el (mouse--down-1-maybe-follows-link): New function. (key-translation-map): Use it to implement mouse-1-click-follows-link. (mouse-drag-line, mouse-drag-track): Remove mouse-1-click-follows-link code. (mouse--remap-link-click-p): Remove. * src/keyboard.c (access_keymap_keyremap): Accept nil return value from functions to mean "no change". * src/keyboard.h (EVENT_START, EVENT_END, POSN_WINDOW, POSN_POSN) (POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come from Elisp via unread-command-events.
* Fix doc typo in previous changeGlenn Morris2013-03-081-1/+1
|
* ChangeLog entries should be attributed to the author of the changesGlenn Morris2013-03-081-8/+5
|
* Merge from emacs-24; up to 2012-12-25T15:07:59Z!dmantipov@yandex.ruGlenn Morris2013-03-082-2/+7
|\
| * Fix critical bug in Org.Bastien Guerry2013-03-082-2/+7
| |
| * Regenerate AUTHORS and ldefs-boot.elGlenn Morris2013-03-041-842/+840
| |
| * Auto-commit of loaddefs files.Glenn Morris2013-03-011-852/+855
| |
* | Provide for customizing default regexp in hi-lock commands (Bug#13892).Jambunathan K2013-03-084-31/+81
| | | | | | | | | | | | | | | | | | | | | | * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): New var. (hi-lock-read-regexp-defaults): New defun. (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Propagate above change. Update docstring. * lisp/subr.el (find-tag-default-as-regexp): New defun. * lisp/replace.el (read-regexp): Propagate above change.
* | * doc/misc/calc.texi (Basic Operations on Units): Fix Jay Belanger2013-03-072-5/+12
| | | | | | | | | | | | | | cross-reference. * calc/calc-units.el (calc-convert-units): Fix the way that default new units are stored.
* | * bookmark.el: Define a face to highlight bookmark names inKarl Fogel2013-03-072-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | bookmark menu buffers, where the default is a bold face similarly to buffer names in buffer menu buffers. Patch by Matthias Meulien <orontee {_AT_} gmail.com>. (bookmark-menu-bookmark): New face to highlight bookmark names. (bookmark-insert-location): Removes dupplicated text property to conform to buffer list (see `list-buffers') (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face `bookmark-menu-bookmark' to bookmark names.
* | * bookmark.el: Display the bookmark list header similarly to theKarl Fogel2013-03-072-10/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer list header (see `list-buffers'), where the default is now an immovable/immutable header line. Patch by Matthias Meulien <orontee {_AT_} gmail.com> with a few tweaks by me. (bookmark-bmenu-use-header-line): New variable. (bookmark-bmenu-inline-header-height): New name for `bookmark-bmenu-header-height', to avoid confusion with the code for the new immovable header. All references changed. (bookmark-bmenu-set-header): New function. (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames): Conditionalize header construction accordingly. (bookmark-bmenu-ensure-position): Conditionalize the skipping of the inline header height. (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): Conditionalize the skipping of the inline header height.
* | * lisp/progmodes/js.el (js--multi-line-declaration-indentation): MergeDmitry Gutov2013-03-072-1/+6
| | | | | | | | from js2-mode (https://github.com/mooz/js2-mode/issues/89).
* | Specify utf-8, not iso-8859-1, for ASCII files.Paul Eggert2013-03-062-2/+2
| |
* | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): OnlyDmitry Gutov2013-03-062-2/+9
| | | | | | | | | | | | propertize regexp when not inside a string. Fixes: debbugs:13885
* | Correct the position of point in some line-up functions.Alan Mackenzie2013-03-062-1/+10
| | | | | | | | | | | | | | | | progmodes/cc-align.el (c-lineup-whitesmith-in-block, c-lineup-assignments) (c-lineup-gcc-asm-reg ): take position of point at column 0 rather than at a random place in the line. doc/misc/cc-mode.texi (Custom Line-Up): State explicitly that point starts at a random position in the line being indented.
* | lisp/gnus/nndir.el (nndir-request-list): Remove 2nd argument passed to ↵Katsumi Yamaoka2013-03-063-4/+10
| | | | | | | | nnml-request-list (Bug#13873)
* | Prefer UTF-8 when the encoding shouldn't matter and changes are small.Paul Eggert2013-03-0540-961/+970
| |
* | * net/tramp-compat.el (tramp-compat-delete-directory): ImplementMichael Albinus2013-03-052-18/+28
| | | | | | | | TRASH argument.
* | Keep pre-existing highlighting in completion candidates.Dmitry Gutov2013-03-052-17/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completions-first-difference): State that the face is "added" in the docstring. (completions-common-part): Same. And don't inherit from default. (completion-hilit-commonality): Prepend 'completions-common-part and 'completion-first-difference faces to the 'face property, instead of replacing the value(s). (completion--insert-strings): Same with 'completions-annotations face. (completion-hilit-commonality): Use 'face instead of 'font-lock-face, because it gets priority if the completion strings already have 'face set. Fixes: debbugs:13250