1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

102895 Commits

Author SHA1 Message Date
Paul Eggert
6d69f077f1 Merge from trunk. 2011-09-26 14:34:22 -07:00
Paul Eggert
316f8af009 Merge from gnulib, improving some licensing wording.
This clarifies and fixes some licensing issues raised by Glenn Morris
<http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
It also merges the latest version of texinfo.tex and has some
MSVC-related changes that don't affect Emacs.
* Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow,
pathmax, and raise, since these are needed only to address
MSVC-related issues that Emacs doesn't have.
* doc/misc/texinfo.tex, lib/dup2.c, lib/gnulib.mk, lib/signal.in.h:
* lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h:
* lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4:
* m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4:
* m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4:
* m4/unistd_h.m4: Merge from gnulib.
2011-09-26 14:30:18 -07:00
Andreas Schwab
04d51ad41a * configure.in: Initialize HAVE_LIBXML2. 2011-09-26 20:38:31 +02:00
Chong Yidong
ec9da8404b Fix NEWS entry for M-SPC change.
Fixes: debbugs:9604
2011-09-26 11:05:52 -04:00
Glenn Morris
583b17bcd6 Auto-commit of generated files. 2011-09-26 06:18:24 -04:00
Glenn Morris
6e99ef20d8 * make-dist: Add lib/makefile.w32-in. 2011-09-26 01:23:13 -07:00
Chong Yidong
ab22a8a196 Updates to admin/make-tarball.txt. 2011-09-25 23:40:18 -04:00
Chong Yidong
f7d75b4bba Bump version to 24.0.90.
Regenerate AUTHORS and ldefs-boot.el.
2011-09-25 23:20:03 -04:00
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