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

96249 Commits

Author SHA1 Message Date
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
Stefan Monnier
2bc0110432 * lisp/emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
(smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
(smie-prec2-levels): Use them to better diagnose precedence cycles.
(smie-blink-matching-check): Don't signal a mismatch if car is t.
(smie-blink-matching-open): Rewrite to remove assumptions, so that
something like "." can also be a closer.
(smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
(smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
Rename internal functions to use "--".  Update callers.
2010-09-19 16:52:37 +02:00
Lars Magne Ingebrigtsen
e8861cd2e4 Merge changes made in Gnus trunk.
nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the nntp buffer so the agent can save it.
nnimap.el (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so that CRLF doesn't get translated to \n; (nnimap-open-connection): Don't make 'shell commands only send \n.
nnimap.el (nnimap-request-group): Don't make `M-g' bug out on group with no marks.
gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file doesn't exist.
nnimap.el (nnimap-finish-retrieve-group-infos): Protect against groups that have no articles.
nnimap.el (nnimap-request-article): Check that we really got an article when we requested one.
gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors from url-retrieve, for instance about invalid URLs.
gnus-agent.el: Change default of gnus-agent-auto-agentize-methods to nil.
2010-09-19 10:45:51 +00:00
Stefan Monnier
e2c3f530ff * lisp/frame.el (make-frame-names-alist): Don't list frames on other displays. 2010-09-19 11:53:28 +02:00
Stefan Monnier
37c0347eb5 * lisp/fringe.el (fringe-styles): New var.
(fringe-mode, fringe-query-style): Use it.
2010-09-19 11:32:52 +02:00
Stefan Monnier
149caf54c7 * lisp/gnus/nnml.el (nnml-files): Add prefix to dynamic var `files'.
(nnml-generate-nov-databases-directory, nnml-generate-active-info):
Update var name.
(nnml-generate-nov-file): Use dolist.
(nnml-directory-articles, nnml-current-group-article-to-file-alist):
Use with-current-buffer.
2010-09-19 11:16:28 +02:00
Michael Mauger
7479021013 SQL Mode, Version 2.8 - sql-list-all and sql-list-table functions.
* progmodes/sql.el: Version 2.8
	(sql-login-params): Updated widget structure; changes still
	needed.
	(sql-product-alist): Add :list-all and :list-table features for
	SQLite, Postgres and MySQL products.
	(sql-redirect): Handle default value.
	(sql-execute, sql-execute-feature): New functions.
	(sql-read-table-name): New function.
	(sql-list-all, sql-list-table): New functions. User API
	(sql-mode-map, sql-interactive-mode-map): Add key definitions
	for above functions.
	(sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
	for above functions.
	(sql-postgres-login-params): Add user and database defaults.
	(sql-buffer-live-p): Bug fix.
	(sql-product-history); New variable.
	(sql-read-product): New function. Use it.
	(sql-set-product, sql-product-interactive): Use it.
	(sql-connection-history): New variable.
	(sql-read-connection): New function. Use it.
	(sql-connect): New function.
	(sql-for-each-login): Redesign function interface.
	(sql-make-alternate-buffer-name, sql-save-connection): Use it.
	(sql-get-login-ext, sql-get-login): Use it. Handle default values.
	(sql-comint): Check for program. Existing live buffer.
	(sql-comint-postgres): Add port parameter.
2010-09-18 22:11:18 -04:00
Stefan Monnier
cec01cd294 * lisp/emacs-lisp/warnings.el: Fix commenting convention.
(display-warning): Use special mode and make the buffer read-only.
2010-09-19 02:05:26 +02:00
Lars Magne Ingebrigtsen
286c4fc2a9 Merge changes made in Gnus trunk.
nnimap.el (nnimap-request-group): Use the stored info for the dont-check case.
nnimap.el: Use deffoo instead of defun for interface functions.
gnus-int.el (gnus-request-group): Take an optional `info' parameter.
nnimap.el: Allow nnimap-request-group to do a complete marks sync on `M-g'.
nnimap.el: Get credentials for numerical equivalents of the port numbers.
gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML tags.
nnimap.el (nnimap-update-info): Extend the info so that we can set the marks.
nnimap.el (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
nnimap.el: Allow PREAUTH nnimap connections to log in without credentials.
nnimap.el (nnimap-update-info): Fix off-by-one error when concatenating ranges when doing a partial update.
gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather than curl to retrieve images.
nnimap.el (nnimap-update-info): When doing partial marks update, get the range update right.
nnimap.el (nnimap-wait-for-response): Be a bit more lax in finding the end of the command we're looking for.
nnimap.el: Allow sending \n instead of \r\n on 'shell streams.
gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in parallel.
2010-09-18 23:36:29 +00:00
Glenn Morris
77413977a3 Fix ChangeLog typo, mea culpa. 2010-09-18 13:54:55 -07:00
Julien Danjou
b0fd24c81d * lisp/url/url-vars.el (url-automatic-caching): Remove unused variable. 2010-09-18 13:49:25 -07:00
Lars Magne Ingebrigtsen
f58208b1d8 * nnimap.el: Require nnoo and other files necessary. 2010-09-18 22:27:52 +02:00
Jay Belanger
c2a845b504 calc-prog.el (calc-read-parse-table-part): Don't "fix" the empty
string when it follows a repeated or optional pattern.
2010-09-18 12:23:12 -05:00
Stefan Monnier
f5632fb6c2 * lisp/indent.el (indent-according-to-mode): Apply syntax-propertize.
(indent-region): Use indent-according-to-mode.
* test/indent/octave.m: Remove one more `fixindent'.  Use `end'.
2010-09-18 18:21:16 +02:00
Stefan Monnier
f816790bfb * lispref/text.texi (Special Properties): Clarify when modification-hooks run. 2010-09-18 17:50:06 +02:00
Eli Zaretskii
6d7b951302 src/Changelog: Merge two last entries. 2010-09-18 16:23:29 +02:00
Eli Zaretskii
0d4afaf7ff Fix MSDOS build broken by 2010-09-10T16:44:35Z!larsi@gnus.org, support MSDOS build with libxml2.
config.bat: Detect that libxml2 is installed and if so, build with it.
 src/deps.mk (xml.o): Add dependencies.
 msdos/sed1v2.inp (LIBXML2_LIBS, LIBXML2_CFLAGS): Edit to empty.
2010-09-18 16:13:09 +02:00