1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

102730 Commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
a5166359b9 Merge changes made in Gnus trunk.
gnus.texi (Archived Messages): Note the default (bug#9552).
message.el (message-indent-citation): Really make sure there's a newline at the end.
nnimap.el (nnimap-parse-flags): Make regexp less prone to overflows.  Fix suggested by John Wiegley.
pop3.el (pop3-open-server): Fix +OK end-of-command regexp.
gnus-art.el (gnus-treat-hide-citation): Add doc.
message.el (message-default-send-rename-function): Break out into its own function.
ecomplete.el (ecomplete-display-matches): Revert patch since it doesn't work under XEmacs.
nnimap.el (nnimap-map-port): New function to connect to 993 instead of "imaps" to word around Windows problems.
 (nnimap-open-connection-1): Use it.
message.el (message-indent-citation): Revert last change which made `F' not work.
2011-09-21 22:34:54 +00:00
Kan-Ru Chen
e233ce558d ecomplete.el (ecomplete-display-matches): Intercept key sequence from terminal as well. 2011-09-21 12:23:49 +00:00
Michael Albinus
a7b88dc6d7 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
and process filter, as done also in `shell-command'.
2011-09-21 12:42:55 +02:00
Martin Rudalics
cf4eacfdca Rewrite code quitting windows and restoring the previous buffer.
* window.el (set-window-buffer-start-and-point): Call
set-window-start with NOFORCE argument t.  Suggested by Thierry
Volpiatto <thierry.volpiatto@gmail.com>.
(quit-window): Reword doc-string.  Handle new format of
quit-restore parameter.  Don't delete window if it has a
previous buffer we can show instead of the present one.
(display-buffer-record-window): Rewrite using a new format for
the quit-restore window parameter
(special-display-popup-frame, display-buffer-same-window)
(display-buffer-reuse-window, display-buffer-pop-up-frame)
(display-buffer-pop-up-window, display-buffer-use-some-window):
Adapt symbol passed to display-buffer-record-window.
* help.el (help-window-setup): Handle new format of quit-restore
parameter.
2011-09-21 10:20:21 +02:00
Eli Zaretskii
3341db6299 Fix assertion failure when displaying stretch glyphs under linum-mode.
src/xdisp.c (pop_it): Allow it->object that is a cons cell to pass
 the xassert test.
 src/dispextern.h (struct it): Update the comment documenting what
 can it->OBJECT be.
2011-09-21 04:13:18 -04:00
Bill Wohler
b523dc2054 * mh-e.texi: (VERSION, EDITION, UPDATED, UPDATE-MONTH): Update for
release 8.3.
(Preface): Updated support information.
(From Bill Wohler): Reset text to original version. As a historical
quote, the tense should be correct in the time that it was written.
2011-09-20 22:22:17 -07:00
Katsumi Yamaoka
44cb0cc967 mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode because it displays images using overlays that aren't easy to copy to the article buffer. 2011-09-21 02:13:03 +00:00
Stefan Monnier
4d3786ace1 * doc/lispref/display.texi (Face Functions): `face-list' returns faces.
Fixes: debbugs:9564
2011-09-20 21:33:33 -04:00
Stefan Monnier
94ab793f89 * lisp/faces.el (face-list): Fix docstring.
Fixes: debbugs:9564
2011-09-20 21:31:53 -04:00
Stefan Monnier
8d28cb95b9 * lisp/window.el (display-buffer--action-function-custom-type):
Don't include internal functions in the Custom interface.
2011-09-20 21:30:35 -04:00
Gnus developers
5c7f66a032 Merge changes made in Gnus trunk.
message.el (message-indent-citation): Fix empty line removal at the end of the citation.
auth-source.el (auth-source-netrc-create): Use default value for password if specified. Evaluate default.
 (auth-source-plstore-create): Ditto.
 (auth-source-plstore-create, auth-source-netrc-create): Fix default value evaluation.
 (auth-source-netrc-create): Typo fix.
 (auth-source-plstore-create): Ditto.
2011-09-20 22:14:36 +00:00
Juri Linkov
3820edebb4 * lisp/info.el (Info-history-skip-intermediate-nodes): New defcustom.
(Info-forward-node, Info-backward-node, Info-next-preorder)
(Info-last-preorder): Use it.

Fixes: debbugs:9528
2011-09-20 23:16:42 +03:00
Eli Zaretskii
fd317ddfc9 Fix bidi-aware cursor motion inside indentation.
src/xdisp.c (Fcurrent_bidi_paragraph_direction): Fix search for previous
 non-empty line.  Fixes confusing cursor motion with arrow keys at
 the beginning of a line that starts with whitespace.
2011-09-20 20:42:16 +03:00
Eli Zaretskii
8c203dbf33 Fix bug #9549 with longlines-show-hard-newlines.
src/xdisp.c (set_cursor_from_row): If the row ends in a newline from
 a display string, extend search for cursor position to end of row.
 (find_row_edges): If the row ends in a newline from a display
 string, increment its MATRIX_ROW_END_CHARPOS by one.
 Handle the case of a display string with multiple newlines.
2011-09-20 20:13:45 +03:00
Juri Linkov
5147931d62 * lisp/info.el (Info-last-preorder): Visit last menu item only when
`Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2011-09-20 19:28:07 +03:00
Julien Danjou
cf499a1a42 password-cache.el (password-cache-remove): Remove entries even if the value is nil, so that password with a nil value (negative caching) is possible to invalidate.
auth-source.el (auth-source-format-cache-entry): New function.
2011-09-20 14:08:04 +00:00
Glenn Morris
e4bd058419 Auto-commit of loaddefs files. 2011-09-20 06:18:55 -04:00
Glenn Morris
9d4433a211 Tweak previous f90.el change. 2011-09-19 23:36:45 -07:00
Bill Wohler
f5954cd7f9 * mh-e.el (Version, mh-version): Update for release 8.3. 2011-09-19 21:56:51 -07:00
Bill Wohler
de77dfbd8c * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p and
error messages.
2011-09-19 21:56:09 -07:00
Bill Wohler
c78268f1bc * NEWS, MH-E-NEWS: Update for MH-E release 8.3. 2011-09-19 21:51:59 -07:00
Lawrence Mitchell
f84e2fe26c Fixes for f90.el filling in comments (bug#9553)
* lisp/progmodes/f90.el (f90-break-line): If breaking inside comment delete
all whitespace around breakpoint.
(f90-find-breakpoint): Only break at whitespace inside a comment.
2011-09-19 21:12:05 -07:00
Stefan Monnier
78054a469d * lisp/minibuffer.el (completion-file-name-table): Keep track of errors.
(completion-table-with-predicate): Handle the case where pred1 is nil.
* lisp/pcomplete.el (pcomplete-completions-at-point): Simplify.

Fixes: debbugs:9160
2011-09-19 21:06:29 -04:00
Katsumi Yamaoka
207c12ef2a gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix. 2011-09-20 00:21:58 +00:00
Gnus developers
a3ddc4d9c6 Merge changes made in Gnus trunk.
mm-decode.el (mm-inline-media-tests): Fix typo in regexp.
auth-source.el (auth-source-netrc-parse): Use an obfuscation method which work with things that are not ASCII.
2011-09-19 22:06:57 +00:00
Stefan Monnier
e24e27be18 * lisp/emacs-lisp/debug.el (debugger-args): Give it a docstring.
(debugger-return-value): Signal an error if the debugging context does
not await any return value.
2011-09-19 17:14:23 -04:00
Stefan Monnier
345083b2cb * lisp/ps-mule.el (ps-mule-plot-string): Don't inf-loop.
* lisp/image-mode.el (image-toggle-display-text)
(image-toggle-display-image): Stay away from evil `intangible'.

Fixes: debbugs:5108
2011-09-19 15:27:30 -04:00
Leo Liu
08d355e3eb Fixes for Occur Edit mode.
* replace.el (occur-revert-arguments): Make it permanent-local.
(occur-mode): Don't call font-lock-defontify.
2011-09-19 14:57:55 -04:00
Chong Yidong
f01da43fd2 Add missing ChangeLog entry for ldap.el change in 2011-09-17T21:28:17Z!cyd@stupidchicken.com. 2011-09-19 14:45:55 -04:00
Stefan Monnier
b6072fa6a4 * lisp/whitespace.el (whitespace-newline-mode): Disable it right.
Fixes: debbugs:9550
2011-09-19 14:06:14 -04:00
Stefan Monnier
85cb5d5706 org/org.el: Add FIXMEs for odd chunks of code 2011-09-19 12:48:36 -04:00
Lars Magne Ingebrigtsen
c5b01d8c63 * .dir-locals.el: Change the debbugs regexp to allow having the bug number as the first thing on a line. 2011-09-19 10:26:50 +02:00
Lars Magne Ingebrigtsen
a4824228fa * lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is.
Fixes: debbugs:9493
2011-09-19 10:25:35 +02:00
Lars Magne Ingebrigtsen
713df35b6d * errors.texi (Standard Errors): Remove apparent placeholder text (bug#9491). 2011-09-19 10:14:13 +02:00
Michael Albinus
443d66962e * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2011-09-19 08:53:45 +02:00
Juri Linkov
7cc6e15441 Capitalize non-function content words in menu item strings.
* lisp/buff-menu.el (Buffer-menu-mode-map):
* lisp/dired.el (dired-mode-map):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
(lisp-interaction-mode-map):
* lisp/emacs-lisp/package.el (package-menu-mode-map):
* lisp/epa.el (epa-key-list-mode-map):
* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu)
(menu-bar-options-menu):
* lisp/outline.el (outline-mode-menu-bar-map):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
* lisp/vc/vc-dir.el (vc-dir-menu-map):
* lisp/vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
Capitalize non-function content words in menu item strings.

* lisp/dired.el (dired-mode-map): Add menu item for
`image-dired-dired-toggle-marked-thumbs'.
2011-09-18 23:43:20 +03:00
Juri Linkov
80302a817e Preserve current isearch case-fold value in `isearch-edit-string'.
* lisp/isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
to `isearch-case-fold-search' and restore its original value
after the `isearch-mode' call.
2011-09-18 23:28:45 +03:00
Juri Linkov
46c5cf6650 * lisp/progmodes/grep.el (grep-process-setup): Don't check code for 1
because `zgrep' returns 1 for successful matches.

Fixes: debbugs:9226
2011-09-18 23:20:08 +03:00
Juri Linkov
d18b513ba7 * lisp/info.el (Info-extract-menu-node-name): Check the second match
for empty string (second test-case of bug#9528).
(Info-last-preorder): Let-bind `Info-history' to nil to not add
intermediate nodes to the history (first test-case of bug#9528).
2011-09-18 23:14:16 +03:00
Chong Yidong
33ed493bca Fix handling of X resource for window icons.
* src/xfns.c (Fx_create_frame): Handle bitmapIcon resource as a boolean.

* doc/emacs/cmdargs.texi (Icons X): Fix description of Emacs icon.

* doc/emacs/xresources.texi (Table of Resources): Fix documentation of
bitmapIcon.

* doc/lispref/frames.texi (Management Parameters): Fix description of
icon-type parameter.

Fixes: debbugs:9154
2011-09-18 16:01:37 -04:00
Juri Linkov
72753f87ca * lisp/info.el (Info-mode-syntax-table): New variable.
(Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.

Fixes: debbugs:3312
2011-09-18 22:56:12 +03:00
Juri Linkov
c9384295aa * lisp/info.el (Info-file-supports-index-cookies): Increment
line-beginning-position's arg from 3 to 4 because makeinfo outputs
one more line for long file names.

Fixes: debbugs:4142
2011-09-18 22:49:13 +03:00
Eli Zaretskii
3e62b7e004 Fix bug #9545 with crash in Dired when $ is pressed.
src/xdisp.c (reseat_at_next_visible_line_start): Undo the change made on
 2011-09-17 that saved paragraph information and restored it after
 the call to `reseat'.
2011-09-18 22:02:17 +03:00
Chong Yidong
d473dce830 Fix for uncommentin in Fundamental mode.
* newcomment.el (comment-normalize-vars): If prompting for
comment-start, set comment-start-skip too.

Fixes: debbugs:8424
2011-09-18 14:10:01 -04:00
Eli Zaretskii
c02dcedf1b Fix a bug in :align-to on a TTY when the column is beyond frame width.
src/xdisp.c (produce_stretch_glyph): Don't subtract 1 "pixel" when
 computing width of the stretch on a TTY.
2011-09-18 19:17:40 +03:00
Johan Bockgård
2176854d0f Fix previous fix of Bug#5849.
* icomplete.el (icomplete-mode): Don't set completion-show-inline-help.
(icomplete-minibuffer-setup): Set completion-show-inline-help
locally during icompletion.
2011-09-18 12:13:01 -04:00
Chong Yidong
c940224fe6 Fix yet another woman parser snafu.
* woman.el (woman2-process-escapes): Don't delete unrecognized
escapes (Bug#7843).
2011-09-18 12:03:48 -04:00
Eli Zaretskii
56cd55c849 Fix bug #9530 on a TTY.
src/xdisp.c (display_line): Record maximum and minimum buffer
 positions even if no glyphs were produced (e.g., by a zero-width
 stretch).  Fixes bug#9530 on a TTY.  Under word-wrap, don't record
 buffer positions that will be removed from the glyph row because
 they don't fit.
2011-09-18 18:48:12 +03:00
Chong Yidong
3aace4e4b3 Allow visiting files with malformed prop-lines.
* files.el (inhibit-first-line-modes-regexps): Add image files.
(hack-local-variables-prop-line): Return nil for malformed prop-lines.

Fixes: debbugs:9044
2011-09-18 11:30:10 -04:00
Chong Yidong
5ed99d3685 Merge changes from emacs-23 branch 2011-09-18 11:21:57 -04:00