1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

102224 Commits

Author SHA1 Message Date
Gnus developers
1e91d50696 Merge changes made in Gnus trunk.
nntp.el (nntp-authinfo-file): Mark as obsolete -- use auth-source instead.
pop3.el (pop3-wait-for-messages): Don't use Gnus functions here.
gnus-util.el (gnus-process-live-p): Copy over compat function.
pop3.el (pop3-wait-for-messages): If the pop3 process dies, stop processing.
nntp.el (nntp-kill-buffer): Kill the process before killing the buffer to avoid warnings.
gnus-agent.el (gnus-agent-expire-done-message): Use %.f as format specified to reduce precision.
2011-08-21 09:39:07 +00:00
Lars Magne Ingebrigtsen
f5e3c5984b Introduce a new variable to allow controlling the SMTP user name
* mail/smtpmail.el (smtpmail-smtp-user): New variable.
(smtpmail-try-auth-methods): Use it.
2011-08-21 06:11:59 +02:00
Chong Yidong
39eeb2f7c5 Minor fix to last change. 2011-08-20 23:02:39 -04:00
Chong Yidong
2c34e8dad7 Add some docstrings to font-lock.el.
* font-lock.el (font-lock-fontify-region)
(font-lock-unfontify-region, font-lock-default-fontify-buffer)
(font-lock-default-unfontify-buffer)
(font-lock-default-fontify-region)
(font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2011-08-20 23:00:52 -04:00
Chong Yidong
02e5c89e67 Fix to `ant' compile regexp.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
  Fix 2011-05-09 change to `ant' regexp.
2011-08-20 22:24:07 -04:00
Chong Yidong
ee31aabc4e Fix error in compilation-error-properties.
* lisp/progmodes/compile.el (compilation-error-properties): Fix
confusion between file struct and message struct (Bug#9319).
2011-08-20 22:07:00 -04:00
Chong Yidong
a3f2468a08 Fix for browse-url-firefox on Windows.
* lisp/net/browse-url.el (browse-url-firefox): Don't call
browse-url-firefox-sentinel unless using -remote.

Fixes: debbugs:9328
2011-08-20 21:01:12 -04:00
Glenn Morris
c21a496aed * lisp/tutorial.el (help-with-tutorial): Avoid an error on short screens. 2011-08-20 15:53:00 -07:00
Glenn Morris
59ee05427d Update some tutorial key bindings; ref bug#8739.
* lisp/tutorial.el (tutorial--default-keys): Update some default bindings.

* etc/NEWS: delete-forward-char is not bound to C-d.

* lisp/bindings.el, lisp/windows.el: Comments.
2011-08-20 15:41:41 -07:00
Glenn Morris
8e999f70ab * lisp/files.el (hack-local-variables): Fully ignore case for "mode:". 2011-08-20 15:26:52 -07:00
Glenn Morris
f624176fea Add missing file to leim/Makefile.
* leim/Makefile.in (OTHERS):
* leim/makefile.w32-in (MISC): Add ipa-praat.elc.
2011-08-20 15:19:53 -07:00
Alan Mackenzie
e371503373 Resolve invalid use of a regexp in regexp-opt.
cc-fonts.el (c-complex-decl-matchers): Add in special detection for a
java annotation.

cc-engine.el (c-forward-decl-or-cast-1): Add in special detection for a
java annotation.

cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling for
java.
(c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2011-08-20 22:02:25 +00:00
Chong Yidong
024a2d7611 * eval.c (Fcondition_case): Document `debug' symbol in error handler. 2011-08-20 17:22:46 -04:00
Chong Yidong
bd1ba3e824 * src/eval.c (Fsignal): Handle `debug' symbol in error handler.
Fixes: debbugs:9329
2011-08-20 17:17:06 -04:00
Chong Yidong
04ed2e9c6a * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix (Bug#9274). 2011-08-20 15:30:53 -04:00
Alan Mackenzie
826cee649d Fontify CPP expressions correctly when starting in the middle of such a
construct.  Mainly for when jit-lock etc. starts a chunk here.

cc-fonts.el (c-font-lock-context): new buffer local variable.
(c-make-font-lock-search-form): new function, extracted from
c-make-font-lock-search-function.
(c-make-font-lock-search-function): Use the above function.
(c-make-font-lock-context-search-function): New function.
(c-cpp-matchers): Enhance the preprocessor expression case with the above
function
(c-font-lock-complex-decl-prepare):  Test for being in a CPP form which
takes an expression.

cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2011-08-20 14:54:21 +00:00
Alan Mackenzie
b128268e44 Fontify CPP expressions correctly when starting in the middle of such a
construct.  Mainly for when jit-lock etc. starts a chunk here.

cc-fonts.el (c-font-lock-context): new buffer local variable.
(c-make-font-lock-search-form): new function, extracted from
c-make-font-lock-search-function.
(c-make-font-lock-search-function): Use the above function.
(c-make-font-lock-context-search-function): New function.
(c-cpp-matchers): Enhance the preprocessor expression case with the above
function
(c-font-lock-complex-decl-prepare):  Test for being in a CPP form which
takes an expression.

cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2011-08-20 14:43:33 +00:00
Martin Rudalics
11994f9ba6 Remove some commented-out obsoletion declarations from window.el. 2011-08-20 12:10:05 +02:00
Martin Rudalics
13009bd867 When displaying a buffer don't use or split a side window unless explicitly requested.
* window.el (display-buffer-reuse-window)
(display-buffer-pop-up-window): Don't reuse or split a side
window.
2011-08-20 12:02:04 +02:00
Katsumi Yamaoka
b911cc52c9 lisp/gnus/ChangeLog: Fix last change. 2011-08-20 00:27:04 +00:00
Gnus developers
4d9db491a0 Merge changes made in Gnus trunk.
nnimap.el (nnimap-transform-headers): Protect against (NIL ...) bodystructures (bug#9314).
starttls.el (starttls-any-program-available): Define as obsolete function.
gnus-util.el (gnus-y-or-n-p): Reinstate the message-clearing y-or-n-p versions which Gnus use when appropriate.
gnus-group.el (gnus-group-clear-data): Add a y-or-n query, since it's a pretty destructive command.
nnmail.el (nnmail-extra-headers): Clarify slightly (bug#9302).
message.el (message-fix-before-sending): Make a different warning about NUL characters (bug#9270).
gnus-sum.el (gnus-auto-select-subject): Allow specifying a function from custom (bug#9260).
2011-08-20 00:20:39 +00:00
Glenn Morris
9234ff7fcf files.el fix for bug#9331
* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase "Mode:".
2011-08-19 14:23:09 -04:00
Eli Zaretskii
823564e519 Avoid a crash in mouse-highlight of Speedbar frames.
src/xfaces.c (face_at_buffer_position): Avoid repeated evaluation of
 face ID by FACE_FROM_ID, and avoid a crash when mouse is moved
 from an Org mode buffer to a Speedbar frame.
2011-08-19 14:30:29 +03:00
Eli Zaretskii
54a1215bcc Fix bidi cursor motion when a line begins with a composed character.
src/xdisp.c (RECORD_MAX_MIN_POS): If the display element comes from
 a composition, take its buffer position from IT->cmp_it.charpos.
2011-08-19 13:18:40 +03:00
Katsumi Yamaoka
f086702702 gnus-art.el (gnus-insert-mime-button, gnus-mime-display-alternative): Make button keymap non-sticky after buttons. 2011-08-19 08:52:18 +00:00
Chong Yidong
5226c7c016 Adapt themes to new error/warning/success faces.
* etc/themes/dichromacy-theme.el:
* etc/themes/wheatgrass-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tango-dark-theme.el: Add error, warning, and success faces.
2011-08-18 20:12:45 -04:00
Gnus developers
c7b98a1c19 Merge changes made in Gnus trunk.
nnmairix.el (nnmairix-request-set-mark, nnmairix-goto-original-article): Remove adding of article to registry, since `gnus-registry-add-group' isn't available anymore.
 (nnmairix-determine-original-group-from-registry): Use `gnus-registry-get-id-key' since `gnus-registry-fetch-groups' isn't available anymore.
gnus-spec.el (gnus-lrm-string): Use 8206 instead of ?\x200e to make things work in Emacs 22 and XEmacs, too.
gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): LRM-ify the default From.
gnus-spec.el (gnus-lrm-string-p): New macro.
 (gnus-lrm-string): New constant.
 (gnus-summary-line-format-spec): LRM-ify the from.
 (gnus-tilde-max-form): LRM-ify string chopping.
gnus-ems.el (gnus-string-mark-left-to-right): New function.
2011-08-18 22:12:47 +00:00
Glenn Morris
c7557a0f2c Standardize/fix some Org header comments.
* org-freemind.el: Remove duplicate, incorrect license notice.

* ob-lisp.el: Convert consecutive copyright years to ranges.

* ob-js.el, ob-scheme.el: Standardize license text.

* ob-R.el, ob-clojure.el, ob-exp.el, ob-lisp.el, ob-lob.el, ob-perl.el:
* ob-python.el, ob-ref.el, ob.el:
Put multiple authors on separate lines.
2011-08-18 16:57:10 -04:00
Glenn Morris
cbd209473b Restore clobbered changes to Org copyright years. 2011-08-18 16:41:06 -04:00
Eli Zaretskii
0be6ee069e Protect the bidi iterator against zero bidi properties.
src/bidi.c (bidi_get_type): If bidi_type_table reports zero as the
 character bidirectional type, use STRONG_L instead.  Fixes crashes
 in a buffer produced by `describe-categories'.
2011-08-18 21:46:02 +03:00
Eli Zaretskii
92b714445a Rename string-mark-left-to-right to bidi-string-mark-left-to-right in the manual. 2011-08-18 19:27:59 +03:00
Eli Zaretskii
9778ebccaa Fix bidi reordering around TAB characters covered by display properties.
src/dispextern.h (struct bidi_it): Move disp_pos and disp_prop_p
 members before the level stack, so they would be saved and
 restored when copying iterator state.  Fixes incorrect reordering
 around TABs covered by display properties.
2011-08-18 19:09:40 +03:00
Chong Yidong
f635daa1e0 Add L and R categories to standard category table, and use them.
* lisp/international/characters.el: Add L and R categories.

* lisp/subr.el (bidi-string-mark-left-to-right): Rename from
string-mark-left-to-right.  Use category search.

* lisp/buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2011-08-18 11:53:29 -04:00
Andreas Schwab
156bffbe26 * src/process.c (Fnetwork_interface_list): Correctly determine buffer
size.
2011-08-18 17:33:22 +02:00
Juri Linkov
bc987f8b80 * lisp/faces.el (error, warning, success): New faces with definitions
copied from old default values of `font-lock-warning-face',
`compilation-warning', `compilation-info'.

* lisp/font-lock.el (font-lock-warning-face): Inherit from `error'.

* lisp/progmodes/compile.el (compilation-error): Inherit from `error'.
(compilation-warning): Inherit from `warning'.
(compilation-info): Inherit from `success'.

* lisp/dired.el (dired-marked): Inherit from `warning'.
(dired-flagged): Inherit from `error'.

Fixes: debbugs:6117
2011-08-18 14:36:19 +03:00
Eli Zaretskii
c094bb0cf7 Improve documentation of bidi in ELisp manual.
doc/lispref/nonascii.texi (Character Properties): Document use of
 `bidi-class' and `mirroring' properties as part of reordering.
 Provide cross-references to "Bidirectional Display".
 doc/lispref/display.texi (Bidirectional Display): Document the pitfalls of
 concatenating strings with bidirectional content, with possible
 solutions.  Document string-mark-left-to-right.  Mention paragraph
 direction in modes that inherit from prog-mode.  Document use of
 `bidi-class' and `mirroring' properties as part of reordering.
 etc/NEWS: Mark string-mark-left-to-right as documented.
2011-08-18 13:53:55 +03:00
Lars Magne Ingebrigtsen
4dcb0d7a58 Merge changes made in Gnus trunk.
message.el (message-is-yours-p): Allow disabling canlock checking (bug#9295).
 (message-shoot-gnksa-feet): Add `canlock-verify'.
 (message-auto-save-directory): Use ~/ as the auto-save directory if the message directory isn't writable (bug#9304).
auth-source.el (auth-source-netrc-saver): Make the .authinfo file non-world-readable.
2011-08-17 22:09:19 +00:00
Lars Magne Ingebrigtsen
3e79eb87b7 (auth-source): Require to avoid problems with binding variables.
Also clean up some unused autoloads.

Fixes: debbugs:9298
2011-08-18 00:02:49 +02:00
Chong Yidong
72ad093b97 Remove aborts from internal_condition_case*.
* src/eval.c (internal_condition_case, internal_condition_case_1)
(internal_condition_case_2, internal_condition_case_n): Remove
unnecessary aborts.

Fixes: debbugs:9081
2011-08-17 17:40:13 -04:00
Lars Magne Ingebrigtsen
57173b965f (network-stream-open-starttls): Support using starttls.el without using gnutls-cli. 2011-08-17 22:50:33 +02:00
Juri Linkov
02b404de99 * lisp/progmodes/grep.el (rgrep): Handle the case when `grep-find-command'
is a cons cell.

Fixes: debbugs:9278
2011-08-17 20:11:49 +03:00
Eli Zaretskii
35774242f9 Fix bug #9311 with loading on MS-Windows .elc files in root directories.
src/lread.c (Fload) [DOS_NT]: If `openp' returns -2, but the file
 has no `load' handler, try opening the file locally.
2011-08-17 11:50:08 +03:00
Martin Rudalics
8c9177f2b4 In display-buffer-pop-up-frame make frame with buffer to display current.
* window.el (display-buffer-pop-up-frame): Run frame creation
function with BUFFER current (as special-display-popup-frame
does).  Reported by Drew Adams.
2011-08-17 08:50:31 +02:00
Daiki Ueno
3644a0ab08 Simplify GnuPG group expansion using epg-expand-group.
* epa-mail.el: Simplify GnuPG group expansion using
epg-expand-group.
(epa-mail-group-alist, epa-mail-group-modtime)
(epa-mail-gnupg-conf-file, epa-mail-parse-groups)
(epa-mail-sync-groups, epa-mail-expand-recipient-1)
(epa-mail-expand-recipients-2, epa-mail-expand-recipients):
Remove.
2011-08-17 10:31:05 +09:00
Katsumi Yamaoka
39397fad3a nndraft.el (nndraft-update-unread-articles): Don't send delayed articles. 2011-08-17 00:10:46 +00:00
Feng Li
7c643369dd * calc/calc-ext.el (math-defintegral-2): Remove nested backquote. 2011-08-16 17:33:57 -05:00
Ken Brown
db76dd852e * src/gmalloc.c: Expand comment. 2011-08-16 16:31:32 -04:00
Alan Mackenzie
9c4aeabf55 progmodes/cc-engine.el (c-state-cache-non-literal-place): Correct to
avoid the insides of macros.
2011-08-16 20:10:40 +00:00
Eli Zaretskii
b215eee57d Fix cursor positioning at end of buffer under bidi display.
src/xdisp.c (set_cursor_from_row): Don't accept a previous candidate
 if it fails the cursor_row_p test.  Fixes cursor positioning at ZV.
2011-08-16 17:28:19 +03:00
Ken Brown
a4579d332d Fix memory allocation problems in Cygwin build (Bug#9273).
* src/gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): New
variables.
(malloc_initialize_1) [CYGWIN]: Prepare for reinitializing the
dumped emacs.
(_free_internal_nolock) [CYGWIN]: Ignore requests to free storage
in the static heap.
[CYGWIN] (special_realloc): New function.
(_realloc_internal_nolock) [CYGWIN]: Use the new function on
requests to realloc storage in the static heap.

* src/unexcw.c ( __malloc_initialized): Declare external variable.
(fixup_executable): Force the dumped emacs to reinitialize malloc.
2011-08-16 09:27:12 -04:00