1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
Commit graph

102748 commits

Author SHA1 Message Date
Peter J. Weisberg
eca3f3ea3a * lisp/textmodes/picture.el: Make motion commands obey shift-select-mode.
(picture-newline): Use forward-line so as to ignore fields.
2011-09-23 10:47:01 -04:00
Stefan Monnier
01c157cc39 * lisp/subr.el (with-wrapper-hook): Fix edebug spec. 2011-09-23 10:32:36 -04:00
Lars Magne Ingebrigtsen
022de23e6c * simple.el (kill-line): Note effect of `show-trailing-whitespace'.
Fixes: debbugs:4538
2011-09-23 12:52:23 +02:00
Andreas Schwab
8eca8a7c48 * src/emacs.c (Fkill_emacs): In noninteractive mode exit
non-successfully if a write error occurred on stdout.  (Bug#9574)
2011-09-23 11:56:55 +02:00
Michael Albinus
9168308956 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix
nasty bug using wrong cached values.
2011-09-23 11:38:41 +02:00
Alan Mackenzie
5bdd6fa4ef progmodes/cc-defs.el (c-version): Increase to 5.31.9. 2011-09-23 09:24:47 +00:00
Martin Rudalics
b33b68a32c Document changes to windows code.
* frames.texi (Frames and Windows): Move section and rename to
Windows and Frames in windows.texi.
* windows.texi (Windows): Restructure.
(Basic Windows): Rewrite.  Explain live and internal windows and
normalization functions.
(Windows and Frames): Move section here from frames.texi.
Describe subwindows, window combinations, window tree, and
corresponding functions including window-list here.
(Window Sizes): Rename section from Size of Window and move it
up in chapter.  Describe total and body sizes and the
corresponding functions.  Explain new semantics of
window-min-height/-width.
(Resizing Windows): Move section up in chapter.  Describe new
resize functions.
(Splitting Windows): Describe new behavior of split-window,
split-window-above-each-other and split-window-side-by-side.
Provide examples.  Describe window-nest and window-splits
options.
(Deleting Windows): Minor rewrite.
(Selecting Windows): Minor rewrite.  Describe
frame-selected-window and set-frame-selected-window here.
(Cyclic Window Ordering): Minor rewrite.  Describe
window-list-1.
(Buffers and Windows): Rewrite.  Explain a window's previous and
next buffers and the corresponding functions.
* elisp.texi (Top): Update node listings for frames and windows
sections.
2011-09-23 11:12:53 +02:00
Martin Rudalics
71146d7b6e Add reference to Bug#410 in ChangeLog entry. 2011-09-23 09:30:26 +02:00
Chong Yidong
97adfb9756 * window.el (pop-to-buffer): Ensure right window is selected if we chose another frame.
Otherwise, C-x 5 b might not select the right window if reusing a
window on another frame.
2011-09-22 21:42:40 -04:00
Eli Zaretskii
d4ef2b502c Make "C-x =" show display properties from overlays.
lisp/simple.el (what-cursor-position): Use get-char-property-change
 and next-single-char-property-change, to be able to show display
 properties that come from overlays as well as text properties.
2011-09-22 19:49:57 +03:00
Chong Yidong
72258fe584 Reintroduce pop-to-buffer-same-window; use it for previous users of same-window-*.
* window.el (pop-to-buffer-same-window): New (reinstated) fun.

* cmuscheme.el (run-scheme, switch-to-scheme):
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse):
* info.el (info):
* shell.el (shell):
* mail/sendmail.el (mail):
* progmodes/inf-lisp.el (inferior-lisp): Use it.

Fixes: debbugs:9532
2011-09-22 12:15:52 -04:00
Richard M. Stallman
8f09851614 Fix bug that C-x DEL deleted a newline before paragraph. 2011-09-22 09:34:02 -04:00
Michael Albinus
e74f1bb6f8 * files.el (copy-directory): Set directory attributes only in case
they could be retrieved from the source directory.  (Bug#9565)
2011-09-22 12:00:07 +02:00
Martin Rudalics
7f80c86d3c In special-display-popup-frame reset new frame's previous buffers to nil.
* window.el (special-display-popup-frame): When popping up a new frame
reset its previous buffers to nil.  Simplify code.
2011-09-22 11:28:57 +02:00
Dima Kogan
bfeef8b6da Small hideshow fix - ignore strings as well as comments (tiny change)
* lisp/progmodes/hideshow.el (hs-looking-at-block-start-p)
(hs-find-block-beginning, hs-hide-level-recursive):
Ignore strings as well as comments.

Fixes: debbugs:9502
2011-09-22 00:24:08 -07:00
Andrew Schein
7e423bb823 Small sql.el fix (tiny change)
* lisp/progmodes/sql.el (sql-comint-postgres):
Convert port number to a string.

Fixes: debbugs:9556
2011-09-22 00:05:40 -07:00
Martin Rudalics
b4d72fcf78 Undedicate window when quitting should switch to previous buffer.
* window.el (quit-window): Undedicate window when switching to
previous buffer.  Reported by Thierry Volpiatto
<thierry.volpiatto@gmail.com>.
2011-09-22 08:56:19 +02:00
Katsumi Yamaoka
58ea99d174 mml.el (mml-inhibit-compute-boundary): New internal variable.
(mml-compute-boundary): Don't check collision if it is non-nil.
 (mml-compute-boundary-1): Use mml-generate-mime-1 to encode part before checking collision.
2011-09-22 04:43:36 +00:00
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