1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

102786 Commits

Author SHA1 Message Date
Chong Yidong
a0c6445257 * admin.el (set-version): Fix regexps for config.nt and sed2v2.inp. 2011-09-25 23:02:21 -04:00
Michael Albinus
b2bf61aa89 * dbusbind.c (Fdbus_register_signal): When service is not
registered, use nil in Vdbus_registered_objects_table.  (Bug#9581)
2011-09-25 18:00:02 +02:00
Michael Albinus
e2ee6f30ac * net/dbus.el (dbus-unregister-object): Don't release services for
registered signals.  (Bug#9581)
2011-09-25 17:56:28 +02:00
Martin Rudalics
ed6235ea17 Add NEWS entries for quit-window, window-state functions, and ignore-window-parameters. 2011-09-25 17:29:14 +02:00
Martin Rudalics
c419f5cb55 Describe window quitting, configuration and parameter additions.
* windows.texi (Quitting Windows): New node.
(Window Configurations): Add descriptions of window-state-get
and window-state-put.
(Window Parameters): Describe variable ignore-window-parameters.
Sketch some window parameters currently in use.
* elisp.texi (Top): Update node listing.
2011-09-25 17:08:25 +02:00
Ted Zlatanov
f3f9834230 * lisp/progmodes/cfengine.el (cfengine-auto-mode): Add convenience function.
* lisp/progmodes/cfengine.el (cfengine-auto-mode): Add convenience
function that picks between cfengine 2 and 3 support
automatically.  Update docs accordingly.
2011-09-25 07:52:53 -04:00
Glenn Morris
bb72ce9198 Auto-commit of generated files. 2011-09-25 06:19:40 -04:00
Martin Rudalics
590c056d7e Some minor changes in windows section.
* windows.texi (Windows and Frames, Display Action Functions)
(Switching Buffers): Fix some typos.
(Buffers and Windows): Remove reference to window-auto-delete.
Reword description of replace-buffer-in-windows.
(Window History): Fix some typos and refer to frame local buffer
list.
2011-09-25 12:11:25 +02:00
Chong Yidong
9ec20d36df Document display-buffer-alist and related variables in Lisp manual.
* doc/lispref/windows.texi (Display Action Functions)
(Choosing Window Options): New nodes.
2011-09-24 23:32:51 -04:00
Glenn Morris
32bbb17c0e * src/buffer.c (truncate-lines): Doc fix. 2011-09-24 19:30:31 -07:00
Lars Magne Ingebrigtsen
728518c3e4 Support a new variable shr-ignore-cache' to re-fetch images when hitting g' in Gnus.
gnus-sum.el (gnus-summary-show-article): Bind `shr-ignore-cache' to re-fetch images.
shr.el (shr-tag-img): Support a new variable `shr-ignore-cache' to re-fetch images when hitting `g' in Gnus.
2011-09-24 23:09:56 +00:00
Christopher J. White
b02ba905b4 * url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931). 2011-09-24 18:58:40 -04:00
Chong Yidong
94e0933e1f Minor doc fixes for some window functions.
Minor doc fixes for switch-to-buffer, window-prev-buffers,
set-window-prev-buffers, set-window-next-buffers.
2011-09-24 18:51:36 -04:00
Chong Yidong
0e406a72ed Document display-buffer and other window changes in Lisp manual.
* doc/lispref/windows.texi (Window History): New node.  Move text here
from Buffers and Windows.
(Switching Buffers): Rename from Displaying Buffers, since we
don't document display-buffer here; callers changed.  Document
FORCE-SAME-WINDOW arg to switch-to-buffer and
switch-to-buffer-other-frame.  Delete duplicate
replace-buffer-in-windows doc.
(Choosing Window): Document display actions.
2011-09-24 18:49:32 -04:00
Ken Manheimer
3f2b07f8b2 * allout.el (allout-this-command-hid-stuff): Buffer-local variable that's
true if the current command involved collapsing of text.  It's reset to
false at the beginning of the next command.
(allout-post-command-business): Move the cursor to the beginning of entry
if the cursor is hidden and collapsing activity just happened.
2011-09-24 16:58:23 -04:00
Glenn Morris
0538fab0dd * configure.in (CRT_DIR): Fix netbsd/openbsd handling.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00562.html
2011-09-24 12:06:20 -07:00
Chong Yidong
371d6a6146 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while tracking.
Fixes: debbugs:9541
2011-09-24 14:38:20 -04:00
Glenn Morris
cddde9219f * src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715) 2011-09-24 11:29:35 -07:00
Glenn Morris
e1bf8792e9 * etc/PROBLEMS: Very long lines being slow is a known issue. 2011-09-24 11:27:18 -07:00
Chong Yidong
0a2132baa8 Window-related updates to NEWS and Emacs manual.
* etc/NEWS: Reorganize, placing user options in Changes section.

* doc/emacs/buffers.texi (Select Buffer): Clarify description of
buffer-switching commands.  Add xref to Window Display node.
Don't repeat confirm-nonexistent-file-or-buffer description from
Visiting node.  Remove even-window-heights.

* doc/emacs/frames.texi (Special Buffer Frames): Add xref to Window Choice.

* doc/emacs/windows.texi (Pop Up Window): Defer discussion of window
splitting to the Window Choice node.  Add index entries.
(Force Same Window): Node deleted.
(Displaying Buffers, Window Choice): New nodes.
2011-09-24 14:19:20 -04:00
Paul Eggert
25b4bfa0d1 Fix minor problems found by static checking.
* xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
* indent.c (Fvertical_motion): Fix == vs = typo.
2011-09-24 09:31:55 -07:00
Paul Eggert
9f985e85e1 * xdisp.c (string_from_display_spec): Don't use int for vector length. 2011-09-24 09:28:25 -07:00
Paul Eggert
1260aef1ae * indent.c (Fvertical_motion): Fix == vs = typo. 2011-09-24 09:15:32 -07:00
Eli Zaretskii
6bf7006fa2 Change the default value of redisplay-dont-pause to t.
src/dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
 value is now t.  Doc fix.
 doc/lispref/display.texi (Forcing Redisplay): Update the description of
 redisplay-dont-pause due to change in the default value.
 etc/NEWS: Mention the change of the default value.
2011-09-24 17:38:16 +03:00
Ulf Jasper
2ac2721a7f newsticker: automatically load html rendering packages.
lisp/ChangeLog:

2011-09-24  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-reader.el (newsticker-html-renderer)
	(newsticker-show-news): Automatically load html rendering package
	if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
	because w3m-fill-column is let-bound" and the error "Symbol's
	value as variable is void: w3m-fill-column".
2011-09-24 16:04:46 +02:00
Eli Zaretskii
e3cbd34b87 Fix vertical cursor motion when the newline is covered by a display string.
src/indent.c (Fvertical_motion): Compute and apply the overshoot
 logic when moving up, not only when moving down.  Fix the
 confusing name and values of the it_overshoot_expected variable;
 logic changes accordingly.  (Bug#9254) (Bug#9549)
 src/xdisp.c (pos_visible_p): Produce correct pixel coordinates when
 CHARPOS is covered by a display string which includes newlines.
 (move_it_vertically_backward): Avoid inflooping when START_CHARPOS
 is covered by a display string with embedded newlines.
2011-09-24 16:23:58 +03:00
Michael Albinus
fac7ae53a7 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
Release services only if they are defined.  (Bug#9581)
2011-09-24 13:45:13 +02:00
Michael Albinus
a3de0cbd6d * dbusbind.c (Fdbus_register_signal): Add match rule to
Vdbus_registered_objects_table.  (Bug#9581)
(Fdbus_register_method, Vdbus_registered_objects_table): Fix
docstring.
2011-09-24 13:36:53 +02:00
Richard M. Stallman
512a289dc6 bidi.c: Whitespace changes and a few added parentheses,
to follow usual Emacs and GNU style.
2011-09-24 06:31:37 -04:00
Jim Meyering
b260039d42 do not ignore write error for any output size
The previous change was incomplete.
While it makes emacs --batch detect the vast majority of stdout
write failures, errors were still ignored whenever the output size is
k * (BUFSIZ+1) - 4.  E.g., on a system with BUFSIZ of 4096,
  $ emacs --batch --eval '(print (format "%4093d" 0))' > /dev/full \
      && echo FAIL: ignored write error
  FAIL: ignored write error
  $ emacs --batch --eval '(print (format "%20481d" 0))' > /dev/full \
      && echo FAIL: ignored write error
  FAIL: ignored write error
* emacs.c (Fkill_emacs): Also test ferror.  (Bug#9574)
2011-09-24 11:22:06 +02:00
Richard M. Stallman
e488d29cec For moving backward sentences,
distinguish start of paragraph from start of its text.
2011-09-23 19:55:52 -04:00
Richard M. Stallman
19c3875245 Autoload report-emacs-bug-query-existing-bugs. 2011-09-23 19:47:27 -04:00
Richard M. Stallman
e08b633bd6 Don't allow killing Rmail view buffer by itself.
It gets killed only when its Rmail buffer gets killed.
2011-09-23 19:44:32 -04:00
Antoine Levitt
953ea722f4 * erc-button.el (erc-button-next-function): Scoping fix (Bug#9487). 2011-09-23 17:22:31 -04:00
Andreas Schwab
0a39f27eb9 * lisp/international/mule-diag.el (mule-diag): Insert a newline after
each fontset description.
2011-09-23 18:26:48 +02:00
Stefan Monnier
db4e950db7 * lisp/simple.el (delete-trailing-whitespace): Document last change; simplify. 2011-09-23 11:06:14 -04:00
Martin Rudalics
c4682d186f Document some window code changes in NEWS. 2011-09-23 17:01:49 +02:00
Peter J. Weisberg
d68e189a96 * lisp/simple.el (delete-trailing-whitespace): Also delete
extra newlines at the end of the buffer.
2011-09-23 10:56:00 -04:00
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