1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00
Commit Graph

96265 Commits

Author SHA1 Message Date
Juanma Barranquero
8f978ca0d5 nt/configure.bat: Add comment about USER_(C|LD)FLAGS. 2010-09-22 19:26:02 +02:00
Eli Zaretskii
413d18e73d Fix some uses of int instead of EMACS_INT.
minibuf.c (Fminibuffer_contents)
 (Fminibuffer_contents_no_properties)
 (Fminibuffer_completion_contents): Use EMACS_INT for minibuffer
 positions.
 keyboard.c (command_loop_1): Use EMACS_INT to compare point with
 mark.
 alloc.c (make_uninit_string, make_uninit_multibyte_string)
 (allocate_string_data): Accept EMACS_INT for string length.
 editfns.c (Ffield_string, Ffield_string_no_properties)
 (make_buffer_string, make_buffer_string_both, Fbuffer_substring)
 (Fbuffer_substring_no_properties, find_field, Fdelete_field)
 (Ffield_string, Ffield_string_no_properties, Ffield_beginning)
 (Ffield_end): Use EMACS_INT for buffer positions.
 insdel.c (prepare_to_modify_buffer): Use EMACS_INT to compare
 point with mark.
 lisp.h (allocate_string_data, make_uninit_string)
 (make_uninit_multibyte_string, make_buffer_string)
 (make_buffer_string_both): Adjust prototypes.
2010-09-22 12:03:34 -04:00
Teodor Zlatanov
7390c1cdc8 nnimap.el (nnimap-delete-article): Tell user if expunge won't happen. 2010-09-22 13:34:37 +00:00
Julien Danjou
c7e2ef4e2b Make gnus-group-add-icon work. 2010-09-22 12:49:48 +00:00
Julien Danjou
b4e64499e2 gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on images alt-text.
gnus-html.el (gnus-html-put-image): Put alt-text as help-echo.
2010-09-22 12:14:12 +00:00
Eli Zaretskii
9f5a812acb Fix the MSDOS build (broken by 2010-09-20T22:35:37Z!dann@ics.uci.edu).
sed1v2.inp (LINKER): Don't edit, variable was removed from src/Makefile.in.
 (LD_FIRSTFLAG): Edit to empty.
2010-09-22 11:45:26 +02:00
Katsumi Yamaoka
4def29e7d6 Remove Emacs 21 stuff.
mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
mm-util.el (mm-decompress-buffer)
nnir.el (nnir-run-find-grep)
pop3.el (pop3-list): Use 3rd arg of split-string.
2010-09-22 06:01:22 +00:00
Katsumi Yamaoka
1bf68d5367 calendar/time-date.el (format-seconds): Comment fix. 2010-09-22 05:19:14 +00:00
Glenn Morris
cd205c7615 Tiny package.el fix.
* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
is not automatically buffer-local.
2010-09-21 20:31:30 -07:00
Chong Yidong
4b9832a6f2 Rename libxml2 functions, and make parse tree format consistent with xml.el.
* xml.c: Switch to GNU indentation.
(make_dom): Change parse tree format to match xml.el.
(Fxml_parse_html_string_internal): Rename from html-parse-string.
(Fxml_parse_string_internal): Rename from xml-parse-string.

* configure.in: Announce whether libxml2 is linked to.
2010-09-21 23:10:16 -04:00
Kenichi Handa
1114abdb3d merge trunk 2010-09-22 11:56:28 +09:00
Kenichi Handa
86282aabd0 Fix position calculation on mouse click within bidi-reordered composition. 2010-09-22 11:54:58 +09:00
Juanma Barranquero
ee705a5c54 nt/configure.bat: Cosmetic changes. 2010-09-22 03:30:05 +02:00
Lars Magne Ingebrigtsen
592bdb9afe gnus.texi (Expunging mailboxes): Update name of the expunging command. 2010-09-21 23:27:25 +00:00
Lars Magne Ingebrigtsen
0617bb00a4 Merge changes made in Gnus trunk.
gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen) spec inserr "*" if the group isn't active instead of 0.
nnimap.el (nnimap-request-create-group): Implement.
nnimap.el: Use the IMAP version of utf7-encode throughout.
nnimap.el: Implement the nnimap article expunging interface method, and make it more general.
gnus-group.el: Put back the nnimap autoloads needed to do the acl stuff.
gnus-sum.el (gnus-summary-move-article): When respooling to the same method, this would bug out.
nnimap.el (nnimap-request-group): When we have zero articles, return the right data to Gnus.
nnimap.el (nnimap-request-expire-articles): Only delete articles immediately if the target is 'delete.
nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time for oldness in addition to being a predicate.
nnimap.el: Implement nnimap expiry.
nnimap.el (nnimap-request-move-article): Request the article before looking at what the Message-ID is.
nnimap.el (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to find out whether methods are equal.
nnimap.el (nnimap-find-expired-articles): Don't refer to nnml-inhibit-expiry.
nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
gnus-start.el (gnus-get-unread-articles): Fix the prefixed select method in the presence of many similar methods.
When we have several similar methods, try to create as few extended methods as possible.
gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting marks for nnimap, which is seldom the right thing to do.
gnus-int.el (gnus-open-server): Give a better error message in the "go offline" case.
gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
nnml.el (nnml-generate-nov-file): Fix variable name clobbering from previous patch.
gnus-start.el (gnus-get-unread-articles): Get the extended method slightly later to avoid double-getting it.
2010-09-21 23:13:46 +00:00
Stefan Monnier
4ddea91b84 * lisp/emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
(smie-indent-comment): Be more careful with comment-start-skip.
(smie-indent-comment-close, smie-indent-comment-inside): New funs.
(smie-indent-functions): Use them.
2010-09-21 23:18:08 +02:00
Ari Roponen
840b985a76 * doc.c (Fsnarf_documentation): Use memmove instead of memcpy as
the regions may overlap.
2010-09-21 21:33:59 +02:00
Juanma Barranquero
5bc88f4b8a src/makefile.w32-in ($(BLD)/sysdep.$(O)): Update dependencies. 2010-09-21 14:49:59 +02:00
Julien Danjou
2c8b2fc8d5 gnus-html.el: Make gnus-html use url-cache system.
gnus-html.el (gnus-html-image-map): Add v to browse-url on undisplayed image.
2010-09-21 11:48:40 +00:00
Dan Nicolaescu
d19e096ef5 * src/emacs.c: Do not include sys/ioctl.h, not needed. 2010-09-21 14:13:36 +03:00
Dan Nicolaescu
92bc9a3678 * src/doprnt.c: Do not include stdlib.h, config.h does it.
Move #include before macro definition.
2010-09-21 14:03:34 +03:00
Michael Albinus
b0f037ed88 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message. 2010-09-21 10:35:18 +02:00
Jan Djärv
180fb94ac3 Fix ChangeLog entry for previous commit. 2010-09-21 09:34:26 +02:00
Jan Djärv
36a1b6dba7 Use tool-bar-position in menu Options/Show.
* menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
tool-bar-position.  Don't modify frame parameters here.
2010-09-21 09:31:01 +02:00
Jan Djärv
8cf1771a55 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049). 2010-09-21 09:01:22 +02:00
Dan Nicolaescu
48e24408d0 Check in missing ChangeLog entry. 2010-09-21 09:42:12 +03:00
Dan Nicolaescu
1e14999c26 Check in missing ChangeLog entry. 2010-09-21 09:36:01 +03:00
Katsumi Yamaoka
e4e22d2951 rfc2047.el (rfc2047-encode-parameter): Doc fix.
emacs-mime.texi (rfc2047): Update description for rfc2047-encode-parameter.
2010-09-20 23:44:05 +00:00
Lars Magne Ingebrigtsen
a46359d4fb Merge changes made in Gnus trunk.
mail-parse.el (mail-header-encode-parameter): Use -encode-parameter instead of -encode-string.
nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of "".
gnus-news.texi: Say what Emacs versions we support.
nnimap.el: Implement group deletion.
nnimap.el (nnimap-transform-headers): Return the size of the entire message in the Bytes header, not just the size of the first part.
gnus-news.texi: The nnimap makeover.
gnus-news.texi (Supported Emacs versions): Fix typo.
nnimap.el (nnimap-request-move-article): Fix article moving from nnimap to other servers.
nnimap.el (nnimap-request-set-mark): Don't wait for a response when we haven't requested anything.
nnimap.el (nnimap-command): Make sure that the error message doesn't error out.
2010-09-20 23:08:33 +00:00
Stefan Monnier
5d8e0d5d14 * lisp/textmodes/reftex-parse.el (reftex-what-macro)
(reftex-context-substring): Let-bind forward-sexp-function to nil
since we don't need/want to treat \begin...\end as a block.

Fixes: debbugs:7053
2010-09-21 00:42:47 +02:00
Dan Nicolaescu
f5ea3ba7cc Link temacs using $(CC) not $(LD).
* configure.in (LINKER): Rename to LD_FIRSTFLAG, do not include $(CC).

* src/Makefile.in (temacs): Link using $(CC) not $(LD).
(LD_FIRSTFLAG): Define using autoconf.
(LD): Remove.
2010-09-21 01:35:37 +03:00
Stefan Monnier
984edd2215 * lisp/simple.el (blink-matching-open): Use syntax-class.
* lisp/emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2010-09-20 23:45:09 +02:00
Stefan Monnier
3672149f83 * lisp/progmodes/pascal.el (pascal-mode): Use define-derived-mode.
Set invisibility spec for pascal's outline mode.
(pascal-outline-change): Clean up calling convention.
(pascal-show-all, pascal-hide-other-defuns): Update callers.
2010-09-20 16:57:01 +02:00
Stefan Monnier
549d0e1ec4 * lisp/progmodes/prolog.el (prolog-smie-forward-token)
(prolog-smie-backward-token): New functions.
(prolog-mode-variables): Use them to parse "!," correctly.
Set up smie-blink-matching for ".".
* test/indent/prolog.prolog: Use normal spacing around !.
2010-09-20 16:22:16 +02:00
Stefan Monnier
a9cb95dd4e * lisp/textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
and `end'.
(ispell-region, ispell-process-line): Update users.
2010-09-20 16:15:27 +02:00
Stefan Monnier
de558d10c2 * lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
point-min==1.
2010-09-20 15:27:59 +02:00
Stefan Monnier
94eb3112c5 * lisp/textmodes/ispell.el: Fix commenting convention.
(ispell-parse-output): Simplify, use push.
(ispell-region): Use match-string-no-properties.
(ispell-begin-skip-region-regexp): Use mapconcat to simplify.
(ispell-minor-mode): Use define-minor-mode.
(ispell-message): Remove unused var `skip-regexp'.
(ispell-add-per-file-word-list): Use dynamic let-binding.
Try and use the proper comment marker.
2010-09-20 13:53:42 +02:00
Dan Nicolaescu
a953c1e3df Use const for constant arguments.
* lwlib/lwlib.h (lw_register_widget, lw_create_widget):
* lwlib/lwlib.c (allocate_widget_info, lw_register_widget)
(lw_create_widget, separator_table): Use const.
2010-09-20 14:44:39 +03:00
Dan Nicolaescu
6553950651 Remove HAVE_TERMIOS definitions.
* src/s/usg5-4-common.h (HAVE_TERMIOS):
* src/s/template.h (HAVE_TERMIOS):
* src/s/gnu-linux.h (HAVE_TERMIOS):
* src/s/darwin.h (HAVE_TERMIOS):
* src/s/cygwin.h (HAVE_TERMIOS):
* src/s/bsd-common.h (HAVE_TERMIOS):
* src/s/aix4-2.h (HAVE_TERMIOS):
* src/s/hpux10-20.h (HAVE_TERMIOS): Do not define, it is assumed
defined on all non-MS platforms.
(HAVE_PSTAT_GETDYNAMIC): Do not define, autoconf does it.
2010-09-20 14:38:50 +03:00
Dan Nicolaescu
15f844ac1f * src/xterm.c (xt_action_hook): Use const. 2010-09-20 14:32:26 +03:00
Stefan Monnier
1f7f45a51e * lisp/mail/sendmail.el: Fix commenting convention.
(sendmail-send-it): Use line-beginning-position.
2010-09-20 13:20:38 +02:00
Stefan Monnier
0097720d41 * lisp/help-fns.el (describe-variable): Add original value, if applicable. 2010-09-20 13:13:52 +02:00
Julien Danjou
0e6b7ca0f8 gnus.texi (Article Washing): Add gnus-article-html' in mm-text-html-renderer' doc. 2010-09-20 10:16:02 +00:00
Katsumi Yamaoka
321fce9349 Make Gnus work for Emacs 22 and XEmacs. 2010-09-20 01:57:46 +00:00
Juanma Barranquero
93acd23dc3 Fix typos in ChangeLogs. 2010-09-20 03:20:32 +02:00
Juanma Barranquero
f071341124 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca. 2010-09-20 02:52:17 +02:00
Lars Magne Ingebrigtsen
bdaa75c74d Merge changes made in Gnus trunk.
mail-parse.el (mail-header-encode-parameter): Define as rfc2045-encode-string.
nnheader.el (nnheader-insert-nov): Protect against junk appearing in the extra mail headers.
gnus-html.el: Prefetch and html washing additions.
gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve calling conventions so that prefetch doesn't bug out.
Pass proper format strings to gnus-message.
nnimap.el: Allow anonymous login.
nnimap.el (nnimap-transform-headers): The chars header is called Chars not Bytes.
nnimap.el (nnimap-wait-for-response): Don't infloop if the IMAP connection drops.
gnus-start.el (gnus-get-unread-articles): Call `gnus-open-server' on each method before trying to scan them etc.
gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-region by subst-char-in-region.
gnus.el (gnus-similar-server-opened): Refactor a bit and add comments.
gnus.el: Fix a speed regression based in methods that were similar weren't the same.
gnus.el (gnus): When using the development version of Gnus, load the gnus-load file.
nnimap.el (nnimap-open-connection):  When looking for credentials, also use the nnimap-server-port.
nnimap.el (nnimap-request-article): Return the group/article number, so that Gnus `^' works as expected.
nnimap.el (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants them.
gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of bogus characters.
gnus-html.el (gnus-html-image-fetched): Protect against the data not arriving.
nnimap.el (nnimap-wait-for-connection): Avoid a race condition while waiting for the connection string.
gnus.texi (Required Back End Functions): Document INFO.
2010-09-20 00:36:54 +00:00
Juanma Barranquero
596880ea94 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'. 2010-09-20 02:26:22 +02:00
Juanma Barranquero
7d70133410 Don't make W32 code conditional on HAVE_SOCKETS, it's always defined.
* w32.c: Remove top-level uses of #ifdef HAVE_SOCKETS.
  (gethostname) [!HAVE_SOCKETS]: Remove.
  (SOCK_REPLACE_HANDLE): Remove macro.
  (socket_to_fd, sys_close, _sys_read_ahead, sys_read, sys_write)
  (term_ntproc, init_ntproc): Don't conditionalize on HAVE_SOCKETS.
* w32proc.c: Remove top-level uses of #ifdef HAVE_SOCKETS.
  (syms_of_ntproc): Don't conditionalize on HAVE_SOCKETS.
2010-09-20 02:18:18 +02:00
Julien Danjou
50e4f0bf34 * lisp/url/url-cache.el (url-fetch-from-cache): New function. 2010-09-19 11:48:11 -07:00