summaryrefslogtreecommitdiff
path: root/lisp/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/mail/mail-utils.el (mail-strip-quoted-names): Make the regexp codeStefan Monnier2011-01-131-0/+3
| | | | work for nested comments.
* * lisp/progmodes/prolog.el: Use syntax-propertize. Further code cleanup.Stefan Monnier2011-01-131-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (prolog-use-prolog-tokenizer-flag): Change default when syntax-propertize can be used. (prolog-syntax-propertize-function): New var. (prolog-mode-variables): Move make-local-variable into `set'. Don't make comment-column local since we don't set it. Set comment-add (as it was in previous prolog.el). Use dolist. Set syntax-propertize-function. (prolog-mode, prolog-inferior-mode): Call prolog(-inferior)-menu directly, not through the mode-hook. (prolog-buffer-module, prolog-indent-level) (prolog-paren-is-the-first-on-line-p, prolog-paren-balance) (prolog-comment-limits, prolog-goto-comment-column): Use line-(end|beginning)-position. (prolog-build-prolog-command): Tighten up regexp. (prolog-consult-compile): Move make-local-variable into `set'. (prolog-consult-compile-filter, prolog-goto-next-paren) (prolog-help-on-predicate, prolog-clause-info) (prolog-mark-predicate): Don't let+setq. (prolog-indent-line): Use indent-line-to. Only call prolog-goto-comment-column if necessary. (prolog-indent-level): Use bobp. (prolog-first-pos-on-line): Remove, not used any more. (prolog-in-string-or-comment): Use syntax-ppss if available. (prolog-help-on-predicate): Use read-string. (prolog-goto-predicate-info): Simplify. (prolog-read-predicate): Use `default' rather than `initial'. (prolog-temporary-file): Use make-temp-file to close a security hole. (prolog-toggle-sicstus-sd): New command. (prolog-electric-underscore, prolog-variables-to-anonymous): Use dynamic-scoping as it was meant. (prolog-menu): Move menu definitions to top-level. Use a toggle-button for Sicstus's source debugger. Change "Code" to the more usual "Prolog", and hence change "Prolog" to "System". (prolog-inferior-menu): Reuse prolog-menu's help menu. Move other menu definition to top-level.
* (doc-view-initiate-display): Fall back to normal mode whenTassilo Horn2011-01-131-0/+3
| | | | | doc-view-mode cannot be enabled, also when extracting the document text into a separate buffer (bug#6446).
* * doc-view.el (doc-view-open-text): Use meaningful text bufferTassilo Horn2011-01-131-0/+4
| | | | | name. Keep original document's directory as default-directory (bug#6446).
* * simple.el (shell-command): Don't error out if shell commandTassilo Horn2011-01-131-0/+6
| | | | | buffer contains text with non-nil read-only property when erasing the buffer.
* * ido.el (ido-may-cache-directory): Move "too-big" check later.Kim F. Storm2011-01-131-0/+6
| | | | | (ido-next-match, ido-prev-match): Fix stray reordering of matching items when cycling through the matches.
* * dired-x.el (dired-omit-verbose): New defcustom that allowsTassilo Horn2011-01-131-0/+6
| | | | | disabling the omit messages. (dired-omit-expunge): Use it.
* Merged from trunk.Christian Ohler2011-01-131-0/+29
|\
| * * font-lock.el (font-lock-verbose): Default to nil.Chong Yidong2011-01-121-0/+4
| |
| * New arg RETURN-ACTION for compose-mail, and related functions.Chong Yidong2011-01-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/sendmail.el (mail-return-action): New var. (mail-mode): Make it buffer-local. (mail-bury): Obey it. Move special Rmail window handling to rmail-mail-return. (mail, mail-setup): New arg RETURN-ACTION. (sendmail-user-agent-compose): Move from simple.el. * lisp/simple.el (sendmail-user-agent-compose): Move to sendmail.el. (compose-mail): New arg RETURN-ACTION. (compose-mail-other-window, compose-mail-other-frame): Likewise. * lisp/gnus/gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION. Pass it to message-mail. * lisp/gnus/message.el (message-mail): New arg RETURN-ACTION. (message-return-action): New var. (message-bury): Use it. (message-mode): Make it buffer-local. (message-send-and-exit): Always call message-bury. (message-tool-bar-gnome): Tweak tool-bar items. Add :vert-only tags. * lisp/mail/rmail.el (rmail-mail-return): New function. (rmail-start-mail): Pass it to compose-mail. * lisp/mh-e/mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
| * * cus-theme.el (customize-themes): Use switch-to-buffer.Chong Yidong2011-01-121-0/+4
| | | | | | | | | | * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize menus. Add menu item for customize-themes.
| * * emacs-lisp/package.el (package--list-packages): Use switch-to-buffer.Chong Yidong2011-01-121-0/+5
| |
* | Add ERT, a tool for automated testing in Emacs Lisp.Christian Ohler2011-01-131-0/+4
|/ | | | | | | | | | * Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in: Add ERT. Make "make check" run tests in test/automated. * doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el: New files. * test/automated: New directory.
* * lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.Johan Bockgård2011-01-111-0/+4
|
* * lisp/progmodes/prolog.el: Fix up coding conventions and such.Stefan Monnier2011-01-111-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (prolog-indent-width): Use the same default as in previous prolog.el rather than tab-width which depends on which buffer is current when the file is loaded. (prolog-electric-newline-flag): Only enable if electric-indent-mode is not available. (prolog-emacs): Remove. Use (featurep 'xemacs) instead. (prolog-known-systems): Remove. (prolog-mode-syntax-table, prolog-inferior-mode-map): Move initialization into declaration. (prolog-mode-map): Move initialization into declaration. Remove system-specific mode-map vars, since they referred to the same keymap anyway. (prolog-mode-variables): Obey the user's preference w.r.t adaptive-fill-mode. Prefer symbol-value to `eval'. (prolog-mode-keybindings-edit): Add compatibility bindings. (prolog-mode): Use define-derived-mode. Don't handle mercury here. (mercury-mode-map): New var. (mercury-mode, prolog-inferior-mode): Use define-derived-mode. (prolog-ensure-process, prolog-process-insert-string) (prolog-consult-compile): Use with-current-buffer. (prolog-guess-fill-prefix): Simplify data flow. (prolog-replace-in-string): New function to use instead of replace-in-string. (prolog-enable-sicstus-sd): Don't abuse `eval'. (prolog-uncomment-region): Use `uncomment-region' when available. (prolog-electric-colon, prolog-electric-dash): Use `eolp'. (prolog-int-to-char, prolog-char-to-int): New functions to use instead of int-to-char and char-to-int. (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
* * lisp/progmodes/prolog.el: Replace by a whole new file.Stefan Bruda2011-01-101-0/+4
|
* * lisp/subr.el (eval-after-load): Fix timing for features.Stefan Monnier2011-01-101-0/+6
| | | | | | | | (declare-function, undefined, insert-for-yank) (replace-regexp-in-string): Follow checkdoc's recommendations. * doc/lispref/loading.texi (Hooks for Loading): Adjust doc of eval-after-load. Fixes: debbugs:7769
* * lisp/calendar/diary-lib.el (diary-mode): Refresh *Calendar* afterStefan Monnier2011-01-101-14/+19
| | | | refreshing the diary buffer.
* allout.el: Add 2011 to the file copyright.Ken Manheimer2011-01-101-0/+7
| | | | | | (allout-encrypt-string): Prevent encryption from adding an extra newline at the end of the topic body. (allout-version): Increment to 2.3.
* * net/dbus.el (dbus-unregister-service): Complete doc. FixMichael Albinus2011-01-101-1/+3
| | | | call of dbus-error signal.
* * net/dbus.el (dbus-register-property): Use `dont-register' keyword.Michael Albinus2011-01-101-0/+4
|
* * net/dbus.el (dbus-unregister-service): Translate returnedMichael Albinus2011-01-101-0/+7
| | | | | | integer into a symbol. (dbus-register-property): Use `dbus-register-service' to do the name registration.
* Make org-link and idlwave-help-link inherit from link face.Chong Yidong2011-01-091-0/+3
| | | | | | | Suggested by Joakim Verona. * lisp/org/org-faces.el (org-link): * lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
* * lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.Chong Yidong2011-01-091-0/+2
|
* Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename ↵Chong Yidong2011-01-091-0/+13
| | | | | | | | | | | | | | | :on/off-image widget props to :on/off-glyph. * wid-edit.el (visibility): Replace :on-image and :off-image widget properties with :on-glyph and :off-glyph, for consistency with the `visibility' widget. (widget-toggle-value-create, widget-visibility-value-create): Merge into a single function `widget-toggle-value-create'. * cus-edit.el (custom-variable-value-create, custom-visibility) (custom-face-edit-value-create, custom-face-value-create): Replace :on-image and :off-image widget properties with :on-glyph and :off-glyph, for consistency with the `visibility' widget.
* * lisp/net/ldap.el (ldap-search-internal): Don't use eval.Andreas Schwab2011-01-091-0/+4
|
* * lisp/subr.el (read-char-choice): Use read-key. Suggested by Stefan.Chong Yidong2011-01-091-0/+2
| | | | * src/fns.c (Fyes_or_no_p): Minor doc fix.
* Record "safe themes" as sha1 hashes, as suggested by Stefan Monnier.Chong Yidong2011-01-081-0/+7
| | | | | | | * lisp/custom.el (custom-safe-themes): Rename from custom-safe-theme-files. Add :risky tag. (load-theme, custom-theme-load-confirm): Save sha1 hashes to custom-safe-themes, not filenames. Suggested by Stefan Monnier.
* Tweaks to tool-bar for default, VC-dir, Compile, and Info.Chong Yidong2011-01-081-0/+13
| | | | | | | | | | | | | * tool-bar.el (tool-bar-setup): Remove Help button. Remove label from Search and add a label to Undo. * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing inappropriate buttons and adding :vert-only tags. * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to removal of Help tool-bar button. Remove Undo button for space. * info.el (info-tool-bar-map): Add :vert-only tags.
* * doc-view.el (doc-view-mode-p): Check for png or imagemagickTassilo Horn2011-01-081-0/+5
| | | | image backend support. Either of them is fine.
* Doc fix for y-or-n-p and yes-or-no-p.Chong Yidong2011-01-081-0/+2
| | | | | * subr.el (y-or-n-p): Doc fix. * fns.c (Fyes_or_no_p): Doc fix.
* Load themes using `load', querying if theme file not known safe.Chong Yidong2011-01-081-0/+5
| | | | | | | * custom.el (custom-safe-theme-files): New defcustom. (custom-theme-load-confirm): New function. (load-theme): Load theme using `load', confirming with custom-theme-load-confirm if necessary.
* New function read-char-choice for reading a restricted set of chars.Chong Yidong2011-01-081-0/+15
| | | | | | | | * lisp/subr.el (read-char-choice): New function, factored out from dired-query and hack-local-variables-confirm. * lisp/dired-aux.el (dired-query): * lisp/files.el (hack-local-variables-confirm): Use it.
* * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)Andreas Schwab2011-01-081-0/+1
| | | | [gnu]: Remove unused group.
* Fixes: debbugs:7806Andreas Schwab2011-01-081-0/+6
| | | | | | | | * etc/compilation.txt: Add column to gcc-include sample. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist) [gcc-include]: Tighten file name match, add match for column number.
* Add --no-site-lisp to more Makefiles.Glenn Morris2011-01-071-0/+2
| | | | | | | | | * leim/makefile.w32-in (RUN_EMACS): * leim/Makefile.in (RUN-EMACS): Add --no-site-lisp. * lib-src/Makefile.in (EMACSOPT): Add --no-site-lisp. * lisp/makefile.w32-in (EMACSOPT): Add --no-site-lisp.
* In Makefiles, -batch implies -q.Glenn Morris2011-01-071-0/+4
| | | | | | | | | | * leim/makefile.w32-in (RUN_EMACS): * leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file. * lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file. * src/makefile.w32-in ($(EMACS)): * src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.
* * w32-fns.el (w32-shell-name): Use `shell-file-name' instead ofSam Steingold2011-01-071-0/+6
| | | | the `explicit-shell-file-name' because that is the non-interactive shell.
* Allow format args for y-or-n-p and yes-or-no-p.Chong Yidong2011-01-071-0/+4
| | | | | * lisp/subr.el (y-or-n-p): Accept format string args. * src/fns.c (Fyes_or_no_p): Accept format string args.
* Add --no-site-lisp option, make -Q use it. (Bug#5707)Glenn Morris2011-01-061-3/+6
| | | | | | | | | | | | | | | | * lisp/Makefile.in (EMACSOPT): Add --no-site-lisp. * src/emacs.c (no_site_lisp): New int. (USAGE1): Add --no-site-lisp, mention -Q uses it. (main): Set no_site_lisp. (standard_args): Add --no-site-lisp. * src/lisp.h (no_site_lisp): New int. * src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp directories to Vload_path. * etc/NEWS: Mention --no-site-lisp.
* allout.el: (allout-back-to-current-heading): Ensure return to the visibleKen Manheimer2011-01-061-0/+11
| | | | | | | | | containing topic, rather than a collapsed one. (allout-view-change-hook): Remove hook that was deprecated long ago. (allout-exposure-change-hook): Remove documentation remarks concerning removed allout-view-change-hook. (allout-flag-region): Remove invocation of and documentation remarks concerning allout-view-change-hook.
* vc-bzr fix for bug #7792.Glenn Morris2011-01-051-0/+6
| | | | | | * lisp/vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time) (vc-bzr-annotate-extract-revision-at-line): Handle authors with embedded spaces.
* * doc-view.el (doc-view-image-width): New variable.Tassilo Horn2011-01-051-0/+7
| | | | | | (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick backend for PNG images, and do dynamic rescaling instead of reconverting the whole doc.
* * lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.Glenn Morris2011-01-041-0/+4
|
* ChangeLog fix.Glenn Morris2011-01-041-3/+1
|
* Include recent allout.el changes, and add missing '*' asterisk to myKen Manheimer2011-01-041-2/+22
| | | | previous two ChangeLog entries.
* * lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.Glenn Morris2011-01-041-0/+5
|
* * net/dbus.el (dbus-register-property): Added optional parameterMichael Albinus2011-01-041-0/+5
| | | | dont-register-service. Updated docstring accordingly.
* * lisp/textmodes/rst.el (rst-compile-pdf-preview)Andreas Schwab2011-01-041-0/+5
| | | | (rst-compile-slides-preview): Remove extra line.
* Small rst.el stuff.Glenn Morris2011-01-031-0/+9
| | | | | | | | | * lisp/textmodes/rst.el (rst-compile-toolsets): Make it a defcustom. Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise default to `prog' without a .py extension. (rst-compile-pdf-preview, rst-compile-slides-preview): Use program names from rst-compile-toolsets, rather than hard-coding. (rst-portable-mark-active-p): Fix presumed typo.