1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
Commit Graph

102660 Commits

Author SHA1 Message Date
Juri Linkov
251730002e Fix docstrings in lisp/isearch.el.
* lisp/isearch.el (isearch-edit-string): Remove obsolete mention of
`C-w' (`isearch-yank-word-or-char') from docstring.
(isearch-query-replace): Fix typo in docstring.

Fixes: debbugs:9466
2011-09-10 14:33:38 +03:00
Juri Linkov
056e44efe8 * lisp/paren.el (show-paren-function): Don't show escaped parens.
Let-bind `unescaped' to `t' when paren is not escaped.

Fixes: debbugs:9461
2011-09-10 14:28:19 +03:00
Eli Zaretskii
c3760c17bd Add to sendmail.el a new command mail-add-attachment.
etc/NEWS: Document the new command and the alias for mail-insert-file.
 lisp/mail/sendmail.el (mml-to-mime, mml-attach-file)
 (mm-default-file-encoding): Remove autoload forms, they are
 replaced with autoload cookies in mml.el and mm-encode.el.
 (mail-add-attachment): New command.
 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
 (mail-mode): Mention mail-insert-file and mail-add-attachment in
 the doc string.
 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
 lisp/gnus/mm-encode.el (mm-default-file-encoding): Add autoload cookie.
 lisp/gnus/mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
 doc/emacs/sending.texi (Mail Misc): Document mail-add-attachment.
2011-09-10 11:26:12 +03:00
Reuben Thomas
fece895eff * lisp/simple.el (count-words-region): Use buffer if there's no region. 2011-09-09 23:02:06 -04:00
Juri Linkov
5e68ce4ab9 Add `wdired-isearch-filter-read-only' to lisp/wdired.el.
* lisp/wdired.el (wdired-change-to-wdired-mode): Set buffer-local
`isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
(wdired-isearch-filter-read-only): New function.

Fixes: debbugs:6362
2011-09-09 18:49:00 +03:00
Katsumi Yamaoka
0861eb2e39 gnus-art.el (article-date-ut): Work properly even when
there are things like Date header in the body;
 work for forwarded parts.
2011-09-09 10:18:45 +00:00
Alan Mackenzie
0a6b962280 progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
2011-09-09 09:52:26 +00:00
Eli Zaretskii
14a29deb45 Fix bug #9392 with rmail-forward.
lisp/simple.el (mail-encode-mml): New defvar.
 lisp/mail/rmail.el (mail-encode-mml): Add a defvar.
 (rmail-enable-mime-composing): Default to t.
 (rmail-forward): Use MIME method of forwarding only if both
 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
 Set mail-encode-mml non-nil if the MIME method was used.
 lisp/mail/sendmail.el (mml-to-mime): Add autoload form.
 (mail-encode-mml): Add a defvar.
 (mail-mode): Make mail-encode-mml buffer-local and initialize it
 to nil.
 (mail-send): If mail-encode-mml is non-nil, run the outgoing
 message through mml-to-mime, and reset mail-encode-mml to nil.
2011-09-09 11:59:51 +03:00
Eli Zaretskii
208a048da7 src/frame.c (x_report_frame_params): Cast to avoid compiler warnings. 2011-09-09 11:32:43 +03:00
Glenn Morris
69f4b6184f * lisp/woman.el (woman-special-characters): Add hy character. 2011-09-08 23:34:59 -07:00
Glenn Morris
8aa187e7d1 * lisp/woman.el (woman-special-characters): Add oq and cq quote characters. 2011-09-08 23:32:08 -07:00
Glenn Morris
28c451307b woman.el fix for bug#9447.
* lisp/woman.el (woman-if-body): When processing an .el block,
do not delete the next .el block as well.
2011-09-08 23:23:47 -07:00
Juanma Barranquero
5e617bc2b6 Whitespace changes. 2011-09-09 03:06:52 +02:00
Martin Rudalics
9b1c252e29 Don't have previous and next buffers deal with internal windows.
* window.c (Fset_window_prev_buffers, Fset_window_next_buffers):
Operate on live windows only.

* window.el (window-deletable-p): Make sure window is live before
invoking window-prev-buffers.
2011-09-08 17:45:20 +02:00
Leo Liu
567457e31a New rcirc command rcirc-cmd-invite
See: http://debbugs.gnu.org/9453
2011-09-08 23:25:37 +08:00
Juri Linkov
97f0579455 * lisp/progmodes/compile.el (compilation-environment): Make it a defcustom.
Fixes: debbugs:8340
2011-09-08 15:12:18 +03:00
Juri Linkov
bfe5d7f0e3 (grep-regexp-alist): Move dangling comment to the previous rule. 2011-09-08 15:07:52 +03:00
Juanma Barranquero
2949f33b8a src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused. 2011-09-08 12:59:22 +02:00
Martin Rudalics
8b0874b519 Rewrite window/frame auto-deletion code. (Bug#9419) and (Bug#9456)
* window.el (frame-auto-delete): Rename to window-auto-delete.
Make it control auto-deletion of windows and/or frames.
(window-deletable-p): New argument FORCE.  Rewrite conditions
for deleting window/frame. (Bug#9419)
(switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
Rewrite handling of case when window/frame can be deleted.
(delete-windows-on): Call window-deletable-p with new FORCE
argument t. (Bug#9456)
2011-09-08 08:28:37 +02:00
Paul Eggert
dcdc460c01 Fix move-if-change permissions.
These were inadvertenly changed to 644 in the previous revision;
the file should be executable, so change it back to 755.
2011-09-07 11:26:41 -07:00
Eli Zaretskii
e08dcafd83 Fix a crash in vertical-motion.
src/xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it
 only under bidi iteration.
2011-09-07 21:14:26 +03:00
Jan Djärv
115b96bdb5 (xg_make_tool_item): Insert comment about eventbox. 2011-09-07 19:25:24 +02:00
Chong Yidong
4feb6e7359 * lisp/help-mode.el (help-mode): Restore autoload. 2011-09-07 10:40:27 -04:00
Juri Linkov
91ab9c13bf * lisp/progmodes/compile.el (compilation-start): Let-bind `thisenv' to
`compilation-environment'.  Set buffer-local
`compilation-environment' to `thisenv' later after (funcall mode).
(Bug#8340)

* lisp/vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
(vc-git-grep): Prepend "PAGER=" to `compilation-environment'
instead of replacing its value.  (Bug#8340)
2011-09-07 15:17:54 +03:00
Juri Linkov
0527e251e5 * lisp/progmodes/grep.el (grep-regexp-alist): Calculate column positions
based on text properties put by `grep-filter' instead of matching
escape sequences.
(grep-mode): Set buffer-local `compilation-error-screen-columns'
to the value of `grep-error-screen-columns'.

Fixes: debbugs:9438
2011-09-07 15:00:52 +03:00
Juri Linkov
249f792c82 * lisp/simple.el (next-error-highlight, next-error-highlight-no-select): Doc fix.
Fixes: debbugs:9432
2011-09-07 14:46:56 +03:00
Glenn Morris
a9bec17c46 Auto-commit of generated files. 2011-09-07 06:18:28 -04:00
Glenn Morris
0f054abcec * lib-src/etags.c (Fortran_functions): Handle "elemental" functions. 2011-09-07 00:28:05 -07:00
Dieter Schuster
d0417b4cfa * lib-src/etags.c (Fortran_functions): Handle "pure" functions. (tiny change)
Fixes: debbugs:9359
2011-09-07 00:25:55 -07:00
Glenn Morris
7d0ee75c25 * lisp/progmodes/cc-fonts.el: Remove trailing whitespace. 2011-09-07 00:16:40 -07:00
OKAZAKI Tetsurou
ff7271b993 cc-fonts.el fix for bug#9443 (tiny change)
* lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
Check for null c-opt-block-decls-with-vars-key.
2011-09-07 00:15:42 -07:00
Leo Liu
183fc730a3 Conditionally initialize rcirc-input-ring 2011-09-07 11:37:22 +08:00
Stefan Monnier
77694924d8 * lisp/emacs-lisp/find-func.el (find-function-C-source): Only set
find-function-C-source-directory after checking that we found a source
file there.

Fixes: debbugs:9440
2011-09-06 21:06:09 -04:00
Paul Eggert
c8199d0f9e isnan: Fix porting problem to Solaris 10 with bundled gcc.
Without this fix, the command to link temacs failed due to an
undefined symbol __builtin_isnan.  This is because
/usr/include/iso/math_c99.h #defines isnan(x) to
__builtin_isnan(x), but the bundled gcc, which identifies itself
as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
a __builtin_isnan.
* configure.in (isnan): Remove now-unnecessary check.
* src/floatfns.c (isnan): #undef, and then #define to a clone of
what's in data.c.
(Fisnan): Always define, since it's always available now.
(syms_of_floatfns): Always define isnan at the Lisp level.
2011-09-06 13:47:45 -07:00
Paul Eggert
369e19fc45 Auto-commit of generated files. 2011-09-06 11:18:53 -07:00
Paul Eggert
e39b275c8c Merge from trunk. 2011-09-06 09:34:41 -07:00
Paul Eggert
b2db44d9c6 Merge from trunk. 2011-09-06 08:27:16 -07:00
Alan Mackenzie
d809b8eb5e isearch.el (isearch-other-meta-char): Wherever a key list is unread,
"unread" the prefix arg, too.  This fixes bug #8901.
2011-09-06 01:01:46 +00:00
Gnus developers
bbd6590c36 Merge changes made in Gnus trunk.
gnus-sum.el (gnus-summary-exit): Ensure we kill the proper original-article-buffer.
nnir.el (nnir-compose-result): Fix matching of server type.
 (nnir-run-swish++): Ditto.
 (nnir-run-namazu): Ditto.
 (nnir-run-notmuch): Ditto.
2011-09-05 22:07:34 +00:00
Paul Eggert
1dc4aa6d97 Merge from trunk. 2011-09-05 13:43:14 -07:00
Glenn Morris
697210c482 Auto-commit of generated files. 2011-09-05 06:18:36 -04:00
Oleksandr Gavenko
453de99fd0 * lisp/progmodes/grep.el (rgrep): Add "-type d".
Fixes: debbugs:9414
2011-09-05 12:55:11 +03:00
Juri Linkov
904399061f * lisp/progmodes/grep.el (grep-process-setup): Fix comments.
Fixes: debbugs:8084
2011-09-05 12:48:26 +03:00
Michael Albinus
ecfc0a4901 * dbusbind.c (xd_signature_cat): Rename from signature_cat. 2011-09-05 11:34:18 +02:00
Juri Linkov
f62bd84655 Grep related fixes.
* etc/grep.txt: Add `eval' to the Local Variables section that
emulates `grep-filter'.

* lisp/progmodes/grep.el (grep-filter): Avoid incomplete processing by
keeping point where processing of grep matches begins, and
continue to delete remaining escape sequences from the same point.
(grep-filter): Make leading zero optional in "0?1;31m" because
git-grep emits "\033[1;31m" escape sequences unlike expected
"\033[01;31m" as GNU Grep does.
(grep-process-setup): Replace obsolete "ml=" with newer "sl=".

Fixes: debbugs:9408
2011-09-05 11:20:02 +03:00
Juri Linkov
045820ecd3 * lisp/subr.el (y-or-n-p): Capitalize "yes". 2011-09-05 11:05:01 +03:00
Paul Eggert
1c262cae40 Merge from trunk. 2011-09-04 16:58:01 -07:00
Lars Magne Ingebrigtsen
052bd38a56 Merge changes made in Gnus trunk.
gnus.el (gnus-home-directory): Add warning about setting in .gnus.el (bug#9405).
gnus-score.el (gnus-summary-increase-score): Doc clarification (bug#9421).
gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms (bug#9425).
gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first thing (bug#9426).
2011-09-04 22:17:09 +00:00
Paul Eggert
86633eab8a sprintf-related integer and memory overflow issues
Fixes: debbugs:9397 debbugs:9412
2011-09-04 14:52:59 -07:00
Paul Eggert
6511acf257 Merge from trunk. 2011-09-04 12:18:28 -07:00