1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00
Commit Graph

51574 Commits

Author SHA1 Message Date
Alan Mackenzie
e15f8aaa0e Enhance fontification of declarators to take account of the
presence/absence of "typedef".

cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".

cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".

cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
2010-10-09 19:58:28 +00:00
Lars Magne Ingebrigtsen
77aec22102 (ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.
Move the filter groups commands to TAB/backtab.
2010-10-09 17:44:44 +02:00
Lars Magne Ingebrigtsen
7450df5dfc (epa-passphrase-callback-function): Say what we're querying the password for. 2010-10-09 15:27:24 +02:00
Lars Magne Ingebrigtsen
cf321e508b * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
behaviour, don't bury the ibuffer buffer when visiting other
buffers.
2010-10-09 15:23:29 +02:00
Julien Danjou
1736ad36f8 nnir.el (nnir-read-parm): Fix call to gnus-completing-read. 2010-10-09 09:14:46 +00:00
Julien Danjou
afba0c4b92 shr,el: Allow shr table char to be customized.
gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when retrieving gravatars.
2010-10-09 08:44:12 +00:00
Chong Yidong
587faadd0c More face customization cleanups.
* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.
2010-10-08 23:23:38 -04:00
Glenn Morris
85d50db7e4 Small simplifications for some cal-hebrew calculations.
* lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
(holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
(holiday-hebrew-misc): Small simplifications.
2010-10-08 19:25:38 -07:00
Glenn Morris
3fb78d1f33 Remove lib-src/b2m.c and b2m.pl.
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.

* msdos/mainmake.v2 (install): Remove b2m.

* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.

* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.

* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.

* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.

* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.
2010-10-08 18:15:15 -07:00
Glenn Morris
a1ab97d068 browse-url.el trivia.
* lisp/net/browse-url.el: Don't require thingatpt, term, dired,
executable, or w3-auto when compiling.
(dired-get-filename, term-char-mode, term-send-down, term-send-string):
Declare.
(browse-url-text-emacs): Require term.
2010-10-08 17:52:12 -07:00
Gnus developers
36d3245fbc shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2010-10-08 23:55:33 +00:00
Andreas Schwab
2187e5bba7 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh. 2010-10-08 19:32:14 +02:00
Julien Danjou
d2abc29aeb gnus.el (gnus-expand-group-parameter): Only return and act on what was matched. 2010-10-08 12:16:05 +00:00
Juanma Barranquero
4628bef1ee Merge changes from emacs-23 branch. 2010-10-08 12:14:47 +02:00
Glenn Morris
24ac444fbe Remove some tests for defunct system-types.
* lisp/vc/ediff-wind.el (ediff-setup-control-frame):
* lisp/vc/ediff-ptch.el (ediff-default-backup-extension):
* lisp/vc/ediff-diff.el (ediff-shell, ediff-diff-options)
(ediff-exec-process): Remove system-types emx, windows-95.
2010-10-08 00:51:19 -07:00
Glenn Morris
5d5870b813 * lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686). 2010-10-08 00:42:51 -07:00
Katsumi Yamaoka
090f6ea1ed gnus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when called interactively. 2010-10-08 07:35:21 +00:00
Glenn Morris
775f75bcbc ChangeLog fix. 2010-10-07 20:27:49 -07:00
Glenn Morris
e4adf61e9a * lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166) 2010-10-07 20:23:31 -07:00
Glenn Morris
2f1cc3365b * lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments. 2010-10-07 20:12:43 -07:00
Glenn Morris
5823f53fc2 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/. 2010-10-07 20:08:32 -07:00
Glenn Morris
e5d495899c Rename some shadow.el things.
* lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix.
(shadows-compare-text-p): Make it an obsolete alias for...
(load-path-shadows-compare-text): ... new name.
(find-emacs-lisp-shadows): Update for above name change.
(load-path-shadows-same-file-or-nonexistent): New name for the old
shadow-same-file-or-nonexistent.
2010-10-07 20:05:09 -07:00
Katsumi Yamaoka
f7aa0b8f65 gnus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make predicate function passed to gnus-mime-view-part-as-type assume argument is a mime type, not a list of a mime type. 2010-10-08 02:12:56 +00:00
Katsumi Yamaoka
863b61d662 shr.el (shr-table-widths): Don't use cl function `reduce'. 2010-10-08 01:51:08 +00:00
Chong Yidong
61328d7c4c Improvements to face customization interface.
* lisp/cus-edit.el (custom-variable, custom-face): Doc fix.
(custom-face-edit): Add value-create attribute.
(custom-face-edit-value-create)
(custom-face-edit-value-visibility-action): New functions.  Hide
unused face attributes by default, and add a visibility toggle.
(custom-face-edit-deactivate): Show empty values with shadow face.
(custom-face-selected): Only use this for face specs with default
attributes.
(custom-face-value-create): Cleanup.

* lisp/wid-edit.el (widget-checklist-value-create): Use dolist.
(widget-checklist-match-find): Make second arg optional.
2010-10-07 20:05:12 -04:00
Lars Magne Ingebrigtsen
3d319c8f92 Merge changes made in Gnus trunk.
shr.el (shr-render-td): Use a cache for the table rendering function to avoid getting an exponential rendering behaviour in nested tables.
shr.el (shr-insert): Rework the line-breaking algorithm.
shr.el (shr-insert): Don't leave trailing spaces.
shr.el (shr-insert-table): Also insert empty TDs.
shr.el (shr-tag-blockquote): Ensure paragraphs after </ul>.
gnus-start.el (gnus-get-unread-articles): Require gnus-agent before bidning gnus-agent variables.
mm-decode.el (mm-save-part): If given a non-directory result, expand the file name before using to avoid setting mm-default-directory to nil.
gnus.el (gnus-carpal): The carpal mode has been removed, but define the variable for backwards compatability.
nnimap.el (nnimap-update-info): Remove double setting of high.
nnimap.el (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
shr.el (require): Require cl when compiling.
shr.el (shr-tag-hr): New function.
2010-10-07 22:26:11 +00:00
Stefan Monnier
3a3cbf0ad3 * lisp/gnus/gnus-sum.el (gnus-number): Rename from `number'.
(gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
(gnus-summary-limit-children): Update uses correspondingly.
2010-10-07 20:22:07 +02:00
Glenn Morris
849b02b469 Tiny hilit-chg.el change.
* lisp/hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
Prefix things.
2010-10-07 10:30:10 -07:00
Glenn Morris
06d9ef85db Rename some more shadow.el stuff.
* lisp/emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords)
(load-path-shadows-find-file): Rename variable and button.
(list-load-path-shadows): Update button caller.
2010-10-07 10:22:51 -07:00
Glenn Morris
ac44263aed Rename shadow-mode.
* lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords)
(load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
load-path-shadows-mode, update references.
2010-10-07 10:17:18 -07:00
Katsumi Yamaoka
fcf2d385f2 [Gnus] Introduce gnus-gravatar-too-ugly.
gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
gnus-gravatar.el (gnus-gravatar-transform-address): Don't show avatars of people of which mail addresses match gnus-gravatar-too-ugly.
gnus.texi (Gravatars): Document gnus-gravatar-too-ugly.
2010-10-07 12:31:39 +00:00
Gnus developers
a7dcc87b1b Merge changes made in Gnus trunk.
nnimap.el (nnimap-request-rename-group): Add this method.
shr.el: Keep track of the natural width of TD elements, so we know which ones to expand.
shr.el: Expand TD elements to fill available space.
2010-10-07 11:46:01 +00:00
Lars Magne Ingebrigtsen
b0e0b216e5 url-http.el (url-http-end-of-document-sentinel): Protect against the
process buffer being killed.
2010-10-07 13:40:42 +02:00
Stefan Monnier
29c72a6e43 SMIE: Reliably distinguish openers/closers in smie-prec2-levels
* lisp/emacs-lisp/smie.el (smie-bnf-classify): New function.
(smie-bnf-precedence-table): Use it to remember the closers/openers.
(smie-merge-prec2s): Handle those new entries.
(smie-prec2-levels): Only set precedence to nil for actual
openers/closers.
* lisp/progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
that is now unnecessary.
2010-10-07 13:27:19 +02:00
Miles Bader
07ff7702e0 (regexp-opt): Add `symbols' mode. 2010-10-07 16:24:21 +09:00
Katsumi Yamaoka
814cc274ef [Gnus] Enable XEmacs to display images.
gnus-html.el (gnus-html-schedule-image-fetching): Remove function name from XEmacs' function-arglist.
gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to gravatar under XEmacs.
2010-10-07 06:47:37 +00:00
Teodor Zlatanov
cbabe91fdc gnus-int.el, gnus-util.el: Gnus hooks for the mark get/set operations.
gnus-sync.el: Update docs to explain state and plans.
auth-source.el: Update docs with TODO items.
2010-10-07 03:49:38 +00:00
Glenn Morris
58d1ac6d6d Reduce rmail.el's use of sendmail.el
* lisp/mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
(mail-position-on-field): Remove declarations.
(mail-position-on-field): Autoload it.
(rmail-retry-failure): Replace use of mail-sendmail-delimit-header
and mail-header-end.  Don't require sendmail.
2010-10-06 19:42:30 -07:00
Glenn Morris
7b9235ad95 Add a shadow-mode for load-path shadows.
* lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
(shadow-mode): New mode.
(shadow-find-file): New button.
(list-load-path-shadows): Use shadow-mode and buttons.
2010-10-06 19:37:39 -07:00
Glenn Morris
52da218259 Minor iimage.el changes.
* lisp/iimage.el (iimage-version): Remove.
(iimage-mode-image-search-path, iimage-mode-image-regex-alist):
Turn into defcustoms.
(iimage-mode-map): Give it a doc string.
2010-10-06 19:32:52 -07:00
Glenn Morris
7e1e2a6e32 Minr appt.el change.
* lisp/calendar/appt.el (appt-activate): Give a warning rather than an error
if there is no diary-file.
2010-10-06 19:26:30 -07:00
Julien Danjou
fd9ba500f5 sieve-manage.el: Add authenticate function.
sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port.
2010-10-06 14:02:39 +00:00
Lars Magne Ingebrigtsen
356242428b shr.el (shr-render-td): Only delete space at the end of the TD. 2010-10-06 13:21:07 +00:00
Julien Danjou
1d8e1f787d sieve-manage: use auth-source. 2010-10-06 13:13:11 +00:00
Gnus developers
66627fa93c Merge changes made in Gnus trunk.
shr.el: Rearrange function order to be more logical.
gnus-faq.texi: Remove reference to my.gnus.org
message.el (message-change-subject): Remove 404 URL in a comment.
nnir.el: Fix Swish-E URL.
nnir.el: Fix Namazu URL.
nnrss.el (nnrss-check-group): Remove 404 URL in comment.
nnrss.el (nnrss-discover-feed): Remove 404 URL in docstring.
gnus-faq.texi (FAQ 5-5): Fix Flyspell URL.
gnus-faq.texi (FAQ 7-1): Fix getmail URL.
gnus.texi (Comparing Mail Back Ends): Remove broken link and allusion to ReiserFS.
nnimap.el (nnimap-open-connection): Prepare to support open-gnutls-stream.
shr.el (shr-insert): Get 'space transition right.
message.texi: Remove reference to gpg-2comp.
2010-10-06 12:38:45 +00:00
Michael Albinus
e44eccd7db * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Use
`tramp-handle-find-backup-file-name'.
2010-10-06 14:03:29 +02:00
Glenn Morris
6aecca9993 Remove obsolete variable font-lock-defaults-alist.
* lisp/font-core.el (font-lock-defaults-alist): Remove variable.
(font-lock-mode): Doc fix.
(font-lock-default-function): Do not consult font-lock-defaults-alist.
* lisp/font-lock.el (font-lock-refresh-defaults): Doc fix.
(font-lock-set-defaults): Doc fix.
Do not consult font-lock-defaults-alist.

* etc/NEWS: Mention above change.
2010-10-05 21:14:05 -07:00
Glenn Morris
645a6257c4 * lisp/hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
Remove arch-tag comment.
2010-10-05 21:06:25 -07:00
Katsumi Yamaoka
568f71a811 gnus-art.el (gnus-mime-view-part-as-type): Make it work when being called interactively. 2010-10-06 02:41:59 +00:00
Glenn Morris
4583e7960f * lisp/emacs-lisp/cl.el: No longer provide cl-19.
* etc/NEWS: Mention this change.
2010-10-05 19:30:53 -07:00