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

99846 Commits

Author SHA1 Message Date
Juanma Barranquero
06641a4768 lisp/autorevert.el: Use `remote-file-name-inhibit-cache'.
* autorevert.el (auto-revert-handler):
  Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
  which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
  Don't quote lambda.
2011-04-13 16:27:41 +02:00
Juanma Barranquero
9ec6a31795 Fix typos. 2011-04-13 13:58:47 +02:00
Juanma Barranquero
c183f69313 lisp/image-mode.el: Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com. 2011-04-13 04:16:42 +02:00
Gnus developers
1e3b60017a Merge changes made in Gnus trunk.
gnus.texi (Window Layout): @itemize @code doesn't exist.  It's @table @code.
gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix logic bug.
 (gnus-registry-post-process-groups): Fix logging of no results and quote sender and subject.
network-stream.el (network-stream-open-starttls): Only do opportunistic STARTTLS upgrades if we have built-in gnutls support.  Upgrades via gnutls-cli are too slow to be done opportunistically.
gnus-start.el (gnus-get-unread-articles): Slight cleanup.
 (gnus-read-active-for-groups): Don't try to finish getting stuff where we had no early-data returned.
 (gnus-get-unread-articles): Add a sanity check so that we don't issue two async commands to the same server at the same time.
gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
gnus-registry.el (gnus-registry-remake-db): Put the warning on a "warning" level.
2011-04-12 22:18:02 +00:00
Juanma Barranquero
2d6af8ddfe lisp/dframe.el (dframe-current-frame): Remove spurious quote. 2011-04-12 17:39:44 +02:00
Lars Magne Ingebrigtsen
bf0ed58aa4 mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
(mm-url-insert-file-contents): Don't set the package names.
2011-04-12 14:16:41 +00:00
Juanma Barranquero
099c39a447 lisp/ChangeLog: Fix date of entry. 2011-04-12 15:14:44 +02:00
Andreas Schwab
baad03f0e1 Use xfree instead of free where appropriate (Bug#8437)
* charset.c (Fclear_charset_maps): Use xfree instead of free.
(Bug#8437)
* keyboard.c (parse_tool_bar_item): Likewise.
* sound.c (sound_cleanup, alsa_close): Likewise.
* termcap.c (tgetent): Likewise.
* xfns.c (x_default_font_parameter): Likewise.
* xsettings.c (read_and_apply_settings): Likewise.
2011-04-12 12:20:32 +02:00
Andreas Schwab
e7974947bc * alloc.c (overrun_check_malloc, overrun_check_realloc)
(overrun_check_free): Protoize.
2011-04-12 12:20:32 +02:00
Glenn Morris
718ad21a5b Auto-commit of generated files. 2011-04-12 06:18:34 -04:00
Paul Eggert
2827268443 * sysdep.c (emacs_read, emacs_write): Check for negative sizes
since callers should never pass a negative size.
Change the signature to match that of plain 'read' and 'write'; see
<http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00397.html>.
* lisp.h: Update prototypes of emacs_write and emacs_read.
2011-04-12 01:12:01 -07:00
Glenn Morris
088d0d61c3 Small cal-tex fix.
* lisp/calendar/cal-tex.el (cal-tex-end-document):
Try to automatically use latin1 input if needed.
2011-04-12 00:03:52 -07:00
Glenn Morris
c0749a5133 cal-hebrew fix for diary-hebrew-rosh-hodesh.
* lisp/calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
Don't try to cons a mark onto an empty element.

Recipe showing the problem:
~/diary:
&%%(diary-rosh-hodesh)
&%%(diary-parasha)

emacs -Q --eval "(progn (add-hook 'diary-nongregorian-listing-hook
   'diary-hebrew-list-entries) (setq cal-tex-diary t))" -f calendar

Move to Jan 2011, press `t m', latex the generated file.

[Port to 23.4]
2011-04-11 21:02:38 -07:00
Glenn Morris
f5b06c3546 ImageMagick fix for bug#7955.
* configure.in: Require ImageMagick >= 6.2.8.  (Bug#7955)

* etc/NEWS: Mention ImageMagick version.
2011-04-11 20:55:07 -07:00
Teodor Zlatanov
d515dc24ca gnus-registry.el (gnus-registry-action): Remove properties and simplify subject in `gnus-registry-handle-action'.
(gnus-registry-spool-action): Get subject and sender from message if they are not passed in.
 (gnus-registry-handle-action): Remove properties and simplify subject consistently.
2011-04-11 22:17:30 +00:00
Eli Zaretskii
e896f03ce0 Fix bug #8468 with redisplay and scroll-margin > 0.
src/xdisp.c (redisplay_window): Don't try to determine the character
 position of the scroll margin if the window start point w->startp
 is outside the buffer's accessible region.
2011-04-11 19:39:09 +03:00
Eli Zaretskii
11997c7643 Fix bug #8468 with redisplay when scroll-margin > 0.
src/xdisp.c (redisplay_window): Don't try to determine the character
 position of the scroll margin if the window start point w->startp
 is outside the buffer's accessible region.
2011-04-11 18:59:30 +03:00
Glenn Morris
8d8af66d43 Auto-commit of generated files. 2011-04-11 06:18:22 -04:00
Leo Liu
5c90fde028 Enable ido to kill virtual buffers 2011-04-11 11:44:54 +08:00
Stefan Monnier
f8fc0578a8 * lisp/gnus/registry.el: Require CL before using defmacro*. 2011-04-10 22:18:19 -03:00
Katsumi Yamaoka
f8342cf544 gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter. 2011-04-11 00:28:41 +00:00
Chong Yidong
369e974dc0 Fix bad interaction between icomplete and completion inline help (Bug#5849).
* lisp/minibuffer.el (completion-show-inline-help): New var.
(completion--do-completion, minibuffer-complete)
(minibuffer-force-complete, minibuffer-complete-word): Inhibit
minibuffer messages if completion-show-inline-help is nil.

* lisp/icomplete.el (icomplete-mode): Bind completion-show-inline-help
to avoid interference from inline help.
2011-04-10 17:31:14 -04:00
Eli Zaretskii
8a2cbd723c Fix write-region and its subroutines for buffers > 2GB.
src/fileio.c (a_write, e_write): Modify declaration of arguments and
 local variables to support buffers larger than 2GB.
 (Fcopy_file): Use EMACS_INT for return value of emacs_read.
 src/sysdep.c (emacs_write, emacs_read): Use ssize_t for last
 argument, local variables, and return value.
 src/lisp.h: Update prototypes of emacs_write and emacs_read.
 src/sound.c (vox_write): Use ssize_t for return value of emacs_write.
2011-04-10 23:43:08 +03:00
Paul Eggert
1ebfdcb6ef * xdisp.c (vmessage): Use memchr, not strnlen, which some hosts lack. 2011-04-10 12:47:49 -07:00
Eli Zaretskii
0a2f5c1a75 src/ChangeLog: Fix address in eliz's last entry. 2011-04-10 22:12:28 +03:00
Paul Eggert
b2ded58d7e Fix more problems found by GCC 4.6.0's static checks. 2011-04-10 09:44:27 -07:00
Paul Eggert
12020a9e6d Keep doprnt.c around for now, as we might revamp and reuse it. 2011-04-10 09:33:22 -07:00
Paul Eggert
69d9a57ddc Merge from gnulib. 2011-04-10 09:00:46 -07:00
Paul Eggert
4073e53749 Merge from mainline. 2011-04-10 08:49:40 -07:00
Leo Liu
37f1c9309e Fix typo in tabulated-list-print-entry 2011-04-10 22:21:26 +08:00
Jim Meyering
368f40905f use ssize_t and size_t for read- and write-like emacs_gnutls_* functions
* gnutls.c (emacs_gnutls_read): Adjust signature to be more read-like:
return ssize_t not "int", and use size_t as the buffer length.
(emacs_gnutls_write): Likewise, and make the buffer pointer "const".
* gnutls.h: Update declarations.
* process.c (read_process_output): Use ssize_t, to match.
(send_process): Likewise.
2011-04-10 16:00:13 +02:00
Paul Eggert
da0e53381f Merge from mainline. 2011-04-09 20:24:44 -07:00
Paul Eggert
3fc4037235 * xdisp.c (message_nolog): Bring this back, inside "#if 0".
See <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8435#26>.
2011-04-09 19:27:15 -07:00
Paul Eggert
7d66342ce2 * xdisp.c (vmessage): Use a better test for character truncation. 2011-04-09 16:11:48 -07:00
Paul Eggert
1e69125eae * syntax.c (skip_chars): Likewise. 2011-04-09 15:51:22 -07:00
Paul Eggert
3ab1c7ce32 * editfns.c (Fformat): Likewise. 2011-04-09 15:39:14 -07:00
Paul Eggert
bbf47d44bf Mention potential integer overflow problems. 2011-04-09 15:34:58 -07:00
Paul Eggert
14f04e6b49 * chartab.c: Use similar style as for other recent patches. 2011-04-09 15:34:16 -07:00
Paul Eggert
f9a68bc5fc * casetab.c (set_identity, shuffle): Likewise. 2011-04-09 15:31:34 -07:00
Paul Eggert
9248994de4 * chartab.c (sub_char_table_set_range, char_table_set_range): Likewise. 2011-04-09 15:21:42 -07:00
Paul Eggert
3befa58386 * charset.c (load_charset_map): <, not <=, for optimization. 2011-04-09 13:46:34 -07:00
Paul Eggert
e301961642 * xmenu.c (set_frame_menubar): Allocate smaller local vectors.
This also lets GCC 4.6.0 generate slightly better loop code.
2011-04-09 13:39:49 -07:00
Chong Yidong
a32d40405d Cleanups to the ImageMagick code and docstrings.
* lisp/image-mode.el (image-toggle-display-image): Signal an error if
not in Image mode.
(image-transform-mode, image-transform-resize)
(image-transform-set-rotation): Doc fix.
(image-transform-set-resize): Deleted.
(image-transform-set-scale, image-transform-fit-to-height)
(image-transform-fit-to-width): Handle image-toggle-display-image
and image-transform-resize directly.

* src/image.c (Fimagemagick_types): Doc fix, and comment cleanup.
2011-04-09 16:28:01 -04:00
Paul Eggert
becfa255fb * callint.c (Fcall_interactively): <, not <=, for optimization.
(Fcall_interactively): Count the number of arguments produced,
not the number of arguments given.  This is simpler and lets GCC
4.6.0 generate slightly better code.
2011-04-09 13:19:05 -07:00
Paul Eggert
dae0cd48d8 * ftfont.c: Distingish more carefully between FcChar8 and char.
The previous code passed unsigned char * to a functions like
strlen and xstrcasecmp that expect char *, which does not
conform to the C standard.
(get_adstyle_property, ftfont_pattern_entity): Use FcChar8 for
arguments to FcPatternGetString, and explicitly cast FcChar8 * to
char * when the C standard requires it.
2011-04-09 12:14:12 -07:00
Paul Eggert
76032d70ca * keyboard.c (read_char): Remove unused var. 2011-04-09 12:12:39 -07:00
Paul Eggert
e5b28a7aef Merge from gnulib. 2011-04-09 11:44:05 -07:00
Paul Eggert
762f8d9671 Merge from mainline. 2011-04-09 11:42:31 -07:00
Glenn Morris
8546720e6f Merge from emacs-23; up to 2010-06-08T03:06:47Z!dann@ics.uci.edu. 2011-04-09 10:40:29 -07:00
Glenn Morris
140745c368 Mark tiny change. 2011-04-09 10:37:33 -07:00