1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

102536 commits

Author SHA1 Message Date
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
Paul Eggert
53e9fe9081 Integer overflow fixes for scrolling, etc. 2011-09-04 12:14:54 -07:00
Paul Eggert
7ab3acf4ad Merge from trunk. 2011-09-04 12:06:14 -07:00
Paul Eggert
806add1d2f * xdisp.c: Integer overflow fix.
(try_window_id): Check Emacs fixnum range before converting to 'int'.
2011-09-04 11:48:35 -07:00
Paul Eggert
71f02bc59a * window.c: Integer overflow fixes.
(window_scroll_line_based, Frecenter):
Check that an Emacs fixnum is in range before assigning it to 'int'.
(Frecenter, Fmove_to_window_line): Use EMACS_INT, not int, for
values converted from Emacs fixnums.
(Frecenter): Don't wrap around a line count if it is out of 'int'
range; instead, treat it as an extreme value.
(Fset_window_configuration, compare_window_configurations):
Use ptrdiff_t, not int, for index that might exceed 2 GiB.
2011-09-04 11:46:51 -07:00
Michael Albinus
f5e29b9b70 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
`tramp-cache-unload-hook' where appropriate.
(tramp-methods): Rename `tramp-remote-sh' to
`tramp-remote-shell'.  Add `tramp-remote-shell-args'.
(tramp-handle-shell-command): New defun, moved from tramp-sh.el.

* net/tramp-sh.el (top): Don't require 'shell.
(tramp-methods): Add `tramp-remote-shell' and
`tramp-remote-shell-args' entries.
(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
(tramp-sh-handle-shell-command): Remove.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use `tramp-remote-shell'.
2011-09-04 20:14:34 +02:00
Paul Eggert
a0efffc812 * search.c: Integer overflow fixes
(Freplace_match): Use ptrdiff_t, not int, for indexes that can
exceed INT_MAX.  Check that EMACS_INT value is in range before
assigning it to the (possibly-narrower) index.
(match_limit): Don't assume that a fixnum can fit in 'int'.
2011-09-04 10:27:38 -07:00
Paul Eggert
29ebea3b12 * print.c: Integer overflow fix.
(print_object): Use ptrdiff_t, not int, for index that can
exceed INT_MAX.
2011-09-04 10:25:23 -07:00
Paul Eggert
3f8236f46b * indent.c: Integer overflow fixes.
(position_indentation): Now takes ptrdiff_t, not int.
(Fvertical_motion): Don't wrap around LINES values that don't fit
in 'int'.  Instead, treat them as extreme values.  This is good
enough for windows, which can't have more than INT_MAX lines anyway.
2011-09-04 10:24:12 -07:00
Eli Zaretskii
69b8be97ad Fix bug #9433 with indexing of C-x 8 RET.
doc/emacs/basic.texi (Inserting Text): Add index entries.
2011-09-04 19:53:44 +03:00
Paul Eggert
7f59d9c856 Merge from gnulib. 2011-09-03 16:08:32 -07:00
Paul Eggert
b49e353d9d Merge from trunk. 2011-09-03 16:03:38 -07:00
Lars Magne Ingebrigtsen
bc32008719 nnimap.el (nnimap-open-connection-1): Use the correct port number in the error message. 2011-09-03 22:51:26 +00:00
Lars Magne Ingebrigtsen
0f2f6b6d00 * Require libxml/parser.h to avoid compilation warning. 2011-09-04 00:20:00 +02:00
Lars Magne Ingebrigtsen
fcb901a77a Fix up xmlCleanupParser sequence.
* xml.c (parse_region): Don't call xmlCleanupParser after parsing,
since this reportedly can destroy thread storage.

* emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown.
2011-09-03 23:59:25 +02:00
Chong Yidong
2784c43403 Make sendmail-query-once update send-mail-function directly.
* mail/sendmail.el (sendmail-query-once-function): Deleted.
(sendmail-query-once): Save directly to send-mail-function.
Update message-send-mail-function too.

* mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2011-09-03 16:24:12 -04:00
Christoph Scholtes
464cdf568e * progmodes/python.el (python-mode-map): Use correct function to
start python interpreter from menu-bar (as reported by Geert
Kloosterman).
(inferior-python-mode-map): Fix typo.
(python-shell-map): Removed.
2011-09-03 12:44:37 -06:00
Deniz Dogan
d37e5c8777 * lisp/net/rcirc.el (rcirc-print): Simplify code for rcirc-scroll-show-maximum-output. There is no need to walk through all windows to find the right one. 2011-09-03 19:40:08 +02:00
Christoph Scholtes
f3ada0eeb5 * help.el (help-return-method): Doc fix. 2011-09-03 11:16:57 -06:00
Martin Rudalics
1f3c99ca9f Don't delete frame when there's a previous buffer to show (Bug#9419).
* window.el (window-deletable-p): Don't return a non-nil value
when there's a buffer that was shown in the window before.
(Bug#9419)
(display-buffer-pop-up-frame, display-buffer-pop-up-window): Set
window's previous buffers to nil.
2011-09-03 12:55:37 +02:00
Eli Zaretskii
a3cf097fd0 Fix display by Rmail of bidirectional text in MIME email messages.
lisp/mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
 newline before and after the tag line, so it doesn't interfere
 with determining the paragraph direction of bidirectional text.
2011-09-03 11:44:16 +03:00
Paul Eggert
f4af5137d4 Add Bug#. 2011-09-02 22:32:13 -07:00