summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* proto-stream.el (open-protocol-stream): Protect against the low-level ↵Lars Magne Ingebrigtsen2011-01-116-23/+49
| | | | | | | | | transport functions returning nil. gnus-sum.el (gnus-summary-next-article): Remove hack to reselect group window, because it does the wrong thing when a separate frame displays the group buffer. gnus-int.el (gnus-request-accept-article): Don't try to update marks and stuff if the backend didn't return the article number. This fixes an Exchange-related nnimap bug. mm-decode.el (mm-preferred-alternative-precedence): Discourage showing empty parts. nnimap.el (nnimap-convert-partial-article): Protect against zero-length body parts.
* * lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.Johan Bockgård2011-01-112-0/+7
|
* * lisp/progmodes/prolog.el: Fix up coding conventions and such.Stefan Monnier2011-01-112-318/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-102-353/+4052
|
* * lisp/subr.el (eval-after-load): Fix timing for features.Stefan Monnier2011-01-102-11/+30
| | | | | | | | (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-102-15/+23
| | | | refreshing the diary buffer.
* allout.el: Add 2011 to the file copyright.Ken Manheimer2011-01-102-8/+16
| | | | | | (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-102-3/+16
| | | | call of dbus-error signal.
* * net/dbus.el (dbus-register-property): Use `dont-register' keyword.Michael Albinus2011-01-102-5/+9
|
* * net/dbus.el (dbus-unregister-service): Translate returnedMichael Albinus2011-01-102-11/+26
| | | | | | 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-094-7/+12
| | | | | | | 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-092-3/+3
|
* Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename ↵Chong Yidong2011-01-093-42/+35
| | | | | | | | | | | | | | | :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.
* Update dired.elAndreas Schwab2011-01-091-1/+1
|
* * lisp/net/ldap.el (ldap-search-internal): Don't use eval.Andreas Schwab2011-01-092-8/+8
|
* * lisp/subr.el (read-char-choice): Use read-key. Suggested by Stefan.Chong Yidong2011-01-092-1/+3
| | | | * src/fns.c (Fyes_or_no_p): Minor doc fix.
* Record "safe themes" as sha1 hashes, as suggested by Stefan Monnier.Chong Yidong2011-01-082-68/+77
| | | | | | | * 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-085-47/+65
| | | | | | | | | | | | | * 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-082-1/+7
| | | | image backend support. Either of them is fine.
* * lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).Chong Yidong2011-01-081-1/+1
| | | | * doc/lispref/files.texi: Likewise.
* Doc fix for y-or-n-p and yes-or-no-p.Chong Yidong2011-01-082-2/+7
| | | | | * 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-082-32/+84
| | | | | | | * 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-085-169/+186
| | | | | | | | * 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-082-2/+3
| | | | [gnu]: Remove unused group.
* Fixes: debbugs:7806Andreas Schwab2011-01-082-1/+9
| | | | | | | | * 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-072-1/+3
| | | | | | | | | * 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-072-2/+6
| | | | | | | | | | * 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-072-1/+7
| | | | 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-072-50/+53
| | | | | * lisp/subr.el (y-or-n-p): Accept format string args. * src/fns.c (Fyes_or_no_p): Accept format string args.
* gnus/mml2015.el: Fix secret key validity check (Bug#7797).Daiki Ueno2011-01-072-6/+33
| | | | | | | | * mml2015.el (epg-sub-key-fingerprint): Autoload. (mml2015-epg-find-usable-secret-key): New function. (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of mml2015-epg-find-usable-key (Bug#7797). (mml2015-epg-encrypt): Ditto.
* Add --no-site-lisp option, make -Q use it. (Bug#5707)Glenn Morris2011-01-062-5/+8
| | | | | | | | | | | | | | | | * 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-062-21/+24
| | | | | | | | | 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-052-5/+14
| | | | | | * 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.
* Fix bug in doc-view-enlarge.Tassilo Horn2011-01-051-1/+1
|
* * doc-view.el (doc-view-image-width): New variable.Tassilo Horn2011-01-052-4/+29
| | | | | | (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-042-5/+8
|
* 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.
* Reconcile with changes in line movement behavior for long text linesKen Manheimer2011-01-041-2/+14
| | | | | | | | | | | | | | | | | that cross more than a single physical window line, ie when truncate-lines is nil. (allout-next-visible-heading): Provide for change in line-move behavior on long lines when truncate-lines is nil. In that case, line-move can wind up on the same textual line when it moves to the next window line, and moving to the bullet position after the move yields zero advancement. Add logic to detect and compensate for the lack of progress. (allout-current-topic-collapsed-p): move-end-of-line respect for field boundaries is different when operating with body lines shorter than window width versus ones greater than window width, which can yield false negatives in this function. Avoid difference by applying move-end-of-line while field-text-motion is inhibited.
* * lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.Glenn Morris2011-01-042-1/+6
|
* * net/dbus.el (dbus-register-property): Added optional parameterMichael Albinus2011-01-042-15/+33
| | | | dont-register-service. Updated docstring accordingly.
* * lisp/textmodes/rst.el (rst-compile-pdf-preview)Andreas Schwab2011-01-042-3/+5
| | | | (rst-compile-slides-preview): Remove extra line.
* Small rst.el stuff.Glenn Morris2011-01-032-12/+46
| | | | | | | | | * 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.
* flow-fill.el (fill-flowed-encode): Do encoding citation-aware.Lars Magne Ingebrigtsen2011-01-044-15/+39
| | | | | gnus-art.el (gnus-treat-fill-long-lines): Add missing version tag. gnus-msg.el (gnus-message-replyencrypt): Fix typo in version string.
* add neglected allout.el ChangeLog entries to ChangeLog.Ken Manheimer2011-01-031-0/+22
|
* gnus-msg.el (gnus-message-replyencrypt): Default to `t'.Karl Fogel2011-01-032-3/+8
|
* * lisp/gnus/sieve-manage.el (sieve-manage-open): Correctly set ↵Glenn Morris2011-01-022-2/+5
| | | | sieve-manage-port.
* Small sieve.el fix for bug #7720.Glenn Morris2011-01-022-3/+9
| | | | | * lisp/gnus/sieve.el (sieve-open-server): Give a more explicit error if sieve-manage-open returns nil.
* nnimap.el (nnimap-login): Refactored out into own function, and implement ↵Lars Magne Ingebrigtsen2011-01-023-14/+45
| | | | | | | | CRAM-MD5. (nnimap-wait-for-line): Refactored out. shr.el (shr-rescale-image): Display all GIF images as animated images. nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available. This avoids sending passwords in plain text over non-encrypted channels.
* Merge changes from emacs-23 branchChong Yidong2011-01-0215-360/+1062
|\