summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Prevent find-file from opening empty buffer when decryptin failed (bug#6568).Daiki Ueno2010-07-082-0/+24
| | | | | | | * epa-file.el (epa-file-error, epa-file--find-file-not-found-function) (epa-file-insert-file-contents): Hack to prevent find-file from opening empty buffer when decryptin failed (bug#6568).
* Improve ispell.el word completion handling. Agustín Martín2010-07-072-17/+40
| | | | | | | | | | | | * ispell.el (ispell-alternate-dictionary): Use file-readable-p. Return nil if no word-list is found at default locations. (ispell-complete-word-dict): Default to nil. (ispell-command-loop): Use 'word-list' when using lookup-words. (lookup-words): Use ispell-complete-word-dict or ispell-alternate-dictionary. Check for word-list availability and handle errors if needed with better messages (Bug#6539). (ispell-complete-word): Use ispell-complete-word-dict or ispell-alternate-dictionary.
* Minor zone.el fixes for bug#6483.Glenn Morris2010-07-062-35/+42
| | | | | | | | | | | | | | | Zone did not like the intangible newlines etc in the gomoku buffer. * lisp/play/zone.el (top-level): Do not require timer, tabify, or cl. (zone-shift-left): Ignore intangibility, and any errors from forward-char. (zone-shift-right): Remove no-op end-of-line. Ignore intangibility. (zone-pgm-putz-with-case): Use upcase-region rather than inserting, deleting, and copying text properties. (zone-line-specs, zone-pgm-stress): Check forward-line exit status. (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting to point-max is hard. (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes. (zone-fill-out-screen): Ignore intangibility.
* Set default-frame-alist, if necessary, in menu/tool-bar-mode.Chong Yidong2010-07-053-9/+24
| | | | | | * menu-bar.el (menu-bar-mode): * tool-bar.el (tool-bar-mode): Replace default-frame-alist element if it has been set.
* Fix multi-click selection behavior (Bug#6565).Chong Yidong2010-07-052-5/+16
| | | | | * lisp/mouse.el (mouse-drag-track): Call mouse-start-end to handle word/line selection (Bug#6565).
* * lisp/bookmark.el (bookmark-bmenu-switch-other-window,Karl Fogel2010-07-041-6/+3
| | | | | bookmark-bmenu-other-window, bookmark-bmenu-2-window): Don't override ambient binding of `bookmark-automatically-show-annotations'. (Bug #6515)
* * net/dbus.el (dbus-send-signal): Declare function.Juanma Barranquero2010-07-042-0/+5
|
* * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).Michael Albinus2010-07-042-13/+50
| | | | | (dbus-register-property): New optional argument EMITS-SIGNAL. (dbus-property-handler): Send signal "PropertiesChanged" if requested.
* Simplify mouse-dragging implementation.Chong Yidong2010-07-023-242/+136
| | | | | | | | | | | | | | | | Now that DEL deletes active regions, we can handle it by using the ordinary region instead of a separate overlay. * mouse.el (mouse-drag-overlay): Variable deleted. (mouse-move-drag-overlay, mouse-show-mark): Functions deleted. (mouse--remap-link-click-p): New function. (mouse-drag-track): Handle dragging by using temporary Transient Mark mode, instead of a special overlay. (mouse-kill-ring-save, mouse-save-then-kill): Don't call mouse-show-mark. * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay deleted.
* * lisp/autoinsert.el (auto-insert-alist): Fix readabilityJuri Linkov2010-07-032-3/+8
| | | | by using dotted pair notation for lambda.
* * lisp/faces.el (read-face-name): Rename arg `string-describing-default'Juri Linkov2010-07-032-8/+18
| | | | | | | | | to `default'. Doc fix. Display the default value in quotes in the prompt. With empty input, return the `default' arg, unless the default value is a string (in which case return nil). (describe-face): Replace the string `default' arg of `read-face-name' with the symbol `default'. http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg01109.html
* Replace delete-backward-char Lisp calls in Viper (Bug#6552).Chong Yidong2010-07-022-6/+14
| | | | | | | | * emulation/viper-cmd.el (viper-delete-backward-char) (viper-del-backward-char-in-insert) (viper-del-backward-char-in-replace, viper-change) (viper-backward-indent): Replace delete-backward-char with delete-char (Bug#6552).
* 2010-07-01 Mark A. Hershberger <mah@everybody.org>Mark A. Hershberger2010-07-012-1/+7
| | | | | | | | | | | | | * url-http.el (url-http-create-request): Add a CRLF on the end so that POSTs with content to https urls work. See <https://bugs.launchpad.net/mediawiki-el/+bug/540759> Prior to this, the following request would not terminate: (let ((url-request-method "POST") (url-request-data "action=login")) (url-retrieve-synchronously "https://example.org/wiki/api.php"))
* * ruler-mode.el (ruler--save-header-line-format): Fix typos.Chong Yidong2010-07-012-8/+11
|
* Fix application of default-frame-alist (Bug#5378).Chong Yidong2010-06-303-36/+48
| | | | | | | | | | | | | | * lisp/frame.el (make-frame): Add default-frame-alist to the PARAMETERS argument passed to frame-creation-function (Bug#5378). * lisp/faces.el (x-handle-named-frame-geometry) (x-handle-reverse-video, x-create-frame-with-faces) (face-set-after-frame-default, tty-create-frame-with-faces): Don't separately consult default-frame-alist. It is now passed as the PARAMETER argument. * src/frame.c (get_future_frame_param, Fmake_terminal_frame): Don't check default-frame-alist.
* Fix whitespace in ChangeLogs.Juanma Barranquero2010-07-011-1/+1
|
* * startup.el (command-line): Don't call tool-bar-setup in a tty-only build.Andreas Schwab2010-07-012-4/+10
|
* Don't always set ruler-mode-header-line-format-old (Bug#5370).Chong Yidong2010-06-302-10/+32
| | | | | | * ruler-mode.el (ruler--save-header-line-format): New fun. (ruler-mode): Use it as a setter function, so as not to overwrite ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
* Allow global VC ops like `C-x v D' in Diff and Log-View buffers.Chong Yidong2010-06-293-17/+27
| | | | | | | | | * vc/diff-mode.el (diff-vc-backend): New var. * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers. (vc-root-diff, vc-print-root-log, vc-log-incoming) (vc-log-outgoing): Use it. (vc-diff-internal): Set diff-vc-backend.
* dynamic-setting.el (font-setting-change-default-font): Remove call to message.Jan D2010-06-282-1/+5
|
* international/quail.el (quail-insert-kbd-layout): Fix the showing of ↵Kenichi Handa2010-06-282-1/+6
| | | | untranslated characters.
* * bindings.el (global-map): Bind delete and DEL, the former toChong Yidong2010-06-274-24/+92
| | | | | | | | | | | | | delete-forward-char. * mouse.el (mouse-region-delete-keys): Deleted. (mouse-show-mark): Simplify. * simple.el (delete-active-region): New option. (delete-backward-char): Implement in Lisp. (delete-forward-char): New command. * src/cmds.c (Fdelete_backward_char): Move into Lisp.
* * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.Chong Yidong2010-06-272-1/+7
| | | | (ruby-mode): Bind indent-line-function (Bug#5119).
* * startup.el (command-line): Recognize "0" X resource value.Chong Yidong2010-06-272-1/+5
|
* Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249).Chong Yidong2010-06-265-93/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add entries for `menu-bar-lines' and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist' at startup. Instead, use X resources to update the `menu-bar-mode' and `tool-bar-mode' variables at startup, and use them as defaults during frame creation. * lisp/frame.el (frame-notice-user-settings): Don't change default-frame-alist based on menu-bar-mode and tool-bar-mode, or vice versa. * lisp/menu-bar.el (menu-bar-mode): * lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist. Set init-value to t. * lisp/startup.el (command-line): Use X resources to set the value of menu-bar-mode and tool-bar-mode, before calling frame-initialize. * src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars. * src/w32fns.c (Fx_create_frame): * src/nsfns.m (Fx_create_frame): Likewise. * src/xfns.c (Fx_create_frame): Don't consult X resouces when setting menu-bar-lines and tool-bar-lines. Use menu-bar-mode and tool-bar-mode, which are now set using these X resources at startup, to determine the defaults.
* w32-fns.el (w32-convert-standard-filename): Doc fix.Eli Zaretskii2010-06-262-1/+5
|\
* | Cherry-pick commit 8bd9308 from the org-mode Git repository.Carsten Dominik2010-06-263-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com> * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete variables. * org.el (calendar): Require calendar now on top level in org.el and define aliases to new variables when needed. (org-read-date, org-goto-calendar): Do not bind obsolete variables.
* | Revert last change.Chong Yidong2010-06-252-8/+1
| |
* | Change initial-frame-alist and default-frame-alist defaults (Bug#2249).Chong Yidong2010-06-252-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Since the menu-bar and tool-bar are now unconditionally turned on by default, we can let the defcustom defaults reflect that. * frame.el (initial-frame-alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249). * frame.c (Vdefault_frame_alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249).
* | Add missing Changelog entries for textmodes/ispell.el (bzr#100641) and ↵Agustín Martín2010-06-251-0/+8
| | | | | | | | textmodes/flyspell.el (bzr#100640)
* | ispell.el (ispell-init-process): Make sure ispell and default directories ↵Agustín Martín2010-06-251-3/+3
| | | | | | | | are expanded.
* | Make sure `flyspell-word' checks word after ↵Agustín Martín2010-06-251-1/+3
| | | | | | | | (flyspell-check-previous-highlighted-word) run.
* | * lisp/minibuffer.el (completions-format): Change default from nil toJuri Linkov2010-06-252-3/+8
| | | | | | | | `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
* | * lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'Juri Linkov2010-06-252-0/+9
| | | | | | | | buffer-locally to lambda that re-runs the vc diff command. (Bug#6447)
* | Don't issue kmacro hint if echo area is in use (Bug#3412).Chong Yidong2010-06-242-5/+12
| | | | | | | | | | * lisp/kmacro.el (kmacro-call-macro): Don't issue hint message if the echo area is in use (Bug#3412).
* | Add in some useful convenience functions for handling HTTP.Mark A. Hershberger2010-06-224-0/+73
| |
* | Minor simplification.Glenn Morris2010-06-222-22/+22
| | | | | | | | | | | | | | | | * lisp/textmodes/texinfmt.el (texinfo-format-region) (texinfo-raise-lower-sections, texinfo-format-separate-node) (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias) (texinfo-format-option, texinfo-noindent): Use line-beginning-position and line-end-position.
* | * lisp/org/org-entities.el: Add explicit utf-8 coding cookie.Glenn Morris2010-06-222-1/+9
| |
* | Add some utf-8 coding cookies.Glenn Morris2010-06-228-126/+158
| | | | | | | | | | | | | | | | * lisp/calc/calc-aent.el, lisp/calc/calc-ext.el, lisp/calc/calc-lang.el: * lisp/calc/calc-store.el, lisp/calc/calc-units.el, lisp/calc/calc.el: * lisp/calc/calccomp.el: Add explicit utf-8 coding cookies to files with utf-8 characters. Also delete trailing whitespace.
* | * lisp/simple.el (compose-mail): Fix doc string to refer toKarl Fogel2010-06-212-1/+7
| | | | | | | | | | `compose-mail-user-agent-warnings', instead of to the nonexistent `compose-mail-check-user-agent'.
* | Fix an indentation bug:Alan Mackenzie2010-06-214-13/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END. (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account of existing values. progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after) (c-clear->-pair-props-if-match-before): now return t when they've cleared properties, nil otherwise. (c-before-change-check-<>-operators): Set c-new-beg/end correctly by taking account of the existing value. progmodes/cc-defs.el (c-clear-char-property-with-value-function): Fix this to clear the property rather than overwriting it with nil.
* | Tweaks to package list UI.Chong Yidong2010-06-203-11/+78
| | | | | | | | | | | | | | | | | | | | * help-mode.el (help-package): New button type. * emacs-lisp/package.el (package-print-package): Add link to package description via describe-package. (describe-package-1): List package requirements. Add button to perform installation. (package-menu-describe-package): New command.
* | Add preliminary describe-package functionality, and some cleanup.Chong Yidong2010-06-195-23/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * help-mode.el (help-package-def): New button type. * menu-bar.el: Move package-list-packages binding here from package.el. * emacs-lisp/package.el: Move package-list-packages binding to menu-bar.el. (describe-package, describe-package-1, package--dir): New funs. (package-activate-1): Use package--dir. * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
* | * lisp/descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)Gustav Hållberg2010-06-182-2/+7
| |
* | * lisp/emacs-lisp/edebug.el (edebug-read-list): Phase out old-style backquotes.Stefan Monnier2010-06-182-26/+13
| |
* | Fix revert-buffer functionality of Help mode and Info.Juri Linkov2010-06-173-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-mode.el (help-mode): Set buffer-local variable revert-buffer-function to help-mode-revert-buffer. (help-mode-revert-buffer): New function. * lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode before popping to "*info*" (like in other Info functions). Keep buffer-name in old-buffer-name. Keep Info-history-forward in old-history-forward. Pop to old-buffer-name or "*info*" to recreate the killed buffer. Set Info-history-forward from old-history-forward. (Info-breadcrumbs-depth): Add :group and :version.
* | * lisp/emacs-lisp/package.el (package-menu-mode-map): Add a menu.Dan Nicolaescu2010-06-172-1/+51
| |
* | ispell.el (ispell-aspell-find-dictionary): Fix regexp for full xx_YY search.Agustín Martín2010-06-172-2/+7
| | | | | | | | | | | | This is needed for languages like Portuguese where there are aspell dicts for pt_BR and pt_PT, not for plain pt. If we strip country part `ispell-aspell-find-dictionary' does not find dicts for portuguese.
* | emacs-lisp/package.el (package-menu-mode-map): Move initialization into ↵Juanma Barranquero2010-06-172-19/+20
| | | | | | | | declaration.
* | menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.Juanma Barranquero2010-06-172-1/+5
| |