1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

96528 Commits

Author SHA1 Message Date
Dan Nicolaescu
82fb8701c2 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
log-outgoing commands.
* lisp/vc/vc.el (vc-log-internal-common): Add a new argument and use it
to create a buffer local revert-buffer-function variable.
(vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
revert-buffer-function lambda.
2010-10-03 17:26:41 -07:00
Gnus developers
a41c2e6d33 Merge changes made in Gnus trunk.
shr.el: Rename the tag functions a bit, and add some new ones.
gnus-sum.el (gnus-summary-select-article-buffer): If the article buffer isn't shown, then select the current article first instead of bugging out.
gnus-sum.el (gnus-summary-select-article-buffer): Show both the article and summary buffers again.
shr.el (shr-tag-blockquote): Convert name.
shr.el (shr-rescale-image): Use the right image-size variant.
shr.el (shr-tag-p): Don't insert newlines at the start of the buffer.
shr.el: Implement indentation in blockquotes.
gnus-sum.el (gnus-summary-select-article-buffer): Really select the article buffer again.
shr.el (shr-ensure-paragraph): Don't insert newlines on empty tags at the beginning of the buffer.
gnus-ems.el, gnus-util.el, mm-decode.el, mm-view.el: Add resize for large images in mm.
gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
shr.el (shr-tag-p): Don't insert newlines on empty tags at the beginning of the buffer.
gnus-ems.el, gnus-html.el, gnus-util.el, mm-decode.el, mm-view.el: Support image resizing.
shr.el: Add headings.
shr.el (shr-ensure-paragraph): Actually work.
shr.el (shr-tag-li): Make <ul> prettier.
shr.el (shr-insert): Get white space at the beginning/end of elements right.
shr.el (shr-tag-li): Tweak <li> rendering.
shr.el (shr-tag-p): Collapse subsequent <p>s.
shr.el (shr-ensure-paragraph): Don't insert double line feeds after blank lines.
shr.el (shr-tag-h6): Add.
shr.el (shr-insert): \t is also space.
2010-10-04 00:17:16 +00:00
Dan Nicolaescu
728a982db4 Fix compilation warnings.
* lib-src/test-distrib.c (cool_read):
* lib-src/movemail.c (main, concat):
* lib-src/make-docfile.c (scan_file, write_c_args):
* emacsclient.c	(get_server_config): Fix -Wconversion warning.
(egetenv): Move conditional definition earlier.
(progname): Use const.
* lib-src/sorted-doc.c (xstrdup): Use const.
2010-10-03 16:35:22 -07:00
Lars Magne Ingebrigtsen
c1ae068bbb Rework the gnutls boot interface.
From Teodor Zlatanov.
2010-10-04 00:37:37 +02:00
Glenn Morris
5589b70e57 Cosmetic changes for some lisp/url files.
* lisp/url/url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
(url-get-url-at-point): Don't use eval-when-compile.

* lisp/url/url-cache.el (url-cache-create-filename-human-readable)
(url-cache-create-filename-using-md5):
* lisp/url/url-util.el (url-file-directory, url-file-nondirectory):
Don't use eval-when-compile and regexp-quote.
2010-10-03 14:37:41 -07:00
Glenn Morris
e2afe435ea * src/fileio.c (Vdirectory_sep_char): Remove. 2010-10-03 14:27:04 -07:00
Glenn Morris
77f3894962 Remove directory-sep-char, obsolete since 21.1.
* lisp/subr.el (directory-sep-char): Remove obsolete variable.
* lisp/net/tramp-compat.el: Don't mess about with the byte-compiler unless
it is "necessary".

* doc/lispref/files.texi (File Name Components): Remove ignored
section about deleted variable directory-sep-char.

* etc/NEWS: Mention above change.
2010-10-03 14:23:13 -07:00
Glenn Morris
67141a37c1 Remove vc-header-alist, obsolete since 21.1.
* lisp/vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
* lisp/vc/vc.el (vc-static-header-alist): Doc fix.
* lisp/vc/vc-cvs.el (vc-cvs-header):
* lisp/vc/vc-rcs.el (vc-rcs-header):
* lisp/vc/vc-sccs.el (vc-sccs-header):
* lisp/vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
* lisp/obsolete/vc-mcvs.el (vc-mcvs-header):
* lisp/progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
on XEmacs.

* etc/NEWS: Mention above change.
2010-10-03 14:05:47 -07:00
Chong Yidong
d99a45914d Avoid using plusp; cl may not be loaded.
* lisp/gnus/shr.el (shr-insert):
* lisp/gnus/pop3.el (pop3-movemail):
* lisp/gnus/gnus-html.el (gnus-html-wash-tags): Don't use plusp.
2010-10-03 15:54:31 -04:00
Michael Albinus
4ddf410ae5 Add user option `remote-file-name-inhibit-cache'. 2010-10-03 18:43:22 +02:00
Dan Nicolaescu
b5437a05ec * src/termhooks.h: Remove #ifdef CONSP. 2010-10-03 09:21:55 -07:00
Michael Albinus
178fdd41ca * files.texi (Magic File Names): New defopt remote-file-name-inhibit-cache. 2010-10-03 17:58:09 +02:00
Dan Nicolaescu
f99d75f5bb * lib-src/Makefile.in: Remove ^L, old makes choke on it. 2010-10-03 08:46:41 -07:00
Dan Nicolaescu
4777478a50 * configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
* src/xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
2010-10-03 08:39:21 -07:00
Dan Nicolaescu
a3d5088daa Include <fcntl.h> unconditionally.
* src/termcap.c:
* src/sysdep.c:
* src/lread.c:
* src/keyboard.c:
* src/filelock.c:
* src/fileio.c:
* src/doc.c:
* src/callproc.c:
* src/alloc.c: Remove include guards for <fcntl.h>, process.c already
does it.
2010-10-03 08:19:34 -07:00
Michael Albinus
3725594541 * tramp.texi (Frequently Asked Questions): Mention
remote-file-name-inhibit-cache.
2010-10-03 17:09:11 +02:00
Dan Nicolaescu
8271973583 * src/process.c: Do not include <sys/wait.h>, syswait.h does it. 2010-10-03 07:48:21 -07:00
Dan Nicolaescu
9de940b59e * src/sysdep.c (flush_pending_output): Remove code, does not do
anything on any platform.
2010-10-03 07:43:17 -07:00
Dan Nicolaescu
57507bf8b5 Remove unused code.
* src/sysdep.c (select_alarm, sys_select, read_input_waiting): Remove
select emulation, all systems support select.
(set_exclusive_use): Remove, the only user is in an #if 0 block.
* src/process.c (create_process): Remove #if 0 code.
2010-10-03 07:16:48 -07:00
Dan Nicolaescu
dd5ecd6bb5 Remove unused arguments for unexec.
The third one is never used, and the last two are always passed as zero.
* src/emacs.c (unexec): Add declaration.
(Fdump_emacs): Only pass the first two arguments to unexec.
Simplify #ifdef.
* src/unexw32.c (unexec):
* src/unexsol.c (unexec):
* src/unexhp9k800.c (unexec):
* src/unexcw.c (unexec): Remove the last 3 arguments, unused.
* src/unexelf.c (unexec): Remove the last 3 arguments, unused.
(find_section): Use const.
* src/unexmacosx.c (unexec): Remove the last 3 arguments, unused.
(unexec_error): Declare it NO_RETURN.
* src/unexcoff.c (make_hdr): Assume bss_start is always zero, remove
it as an argument, remove data_start and entry_address arguments, unused.
(unexec): Remove bss_start, data_start and
entry_address arguments.
* src/unexaix.c (make_hdr): Assume bss_start is always zero, remove
it as an argument, remove data_start and entry_address arguments, unused.
(unexec): Remove bss_start, data_start and
entry_address arguments.
2010-10-03 06:59:56 -07:00
Juanma Barranquero
e1b69165cc src/gnutls.c: Fix typo in docstring. 2010-10-03 14:52:04 +02:00
Lars Magne Ingebrigtsen
b39e244605 url-vars.el (url-mime-charset-string): Changed the default to nil to
avoid sending 1171 bytes of not very useful data to the HTTP server
every request.
2010-10-03 14:43:12 +02:00
Juanma Barranquero
7f467e1413 src/makefile.w32-in (TAGS, TAGS-LISP, TAGS-gmake): Add $(FONTOBJ). 2010-10-03 14:36:19 +02:00
Chong Yidong
96bcef2ec6 Remove obsolete use of binary-overwrite-mode in bytecomp (Bug#7001).
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
obsolete use of binary-overwrite-mode (Bug#7001).
2010-10-03 00:31:59 -04:00
Juanma Barranquero
74f1829da3 src/gnutls.c: Doc fixes. Make some functions static.
(emacs_gnutls_handshake, gnutls_make_error, gnutls_emacs_global_init)
(gnutls_emacs_global_deinit): Make static.
(Fgnutls_get_initstage, Fgnutls_deinit, Fgnutls_boot, Fgnutls_bye):
 Fix typos in docstrings.
(Fgnutls_error_fatalp, Fgnutls_error_string): Doc fixes.
(Fgnutls_errorp): Doc fix; use ERR for the argument name.
2010-10-03 06:12:15 +02:00
Glenn Morris
0437978e83 * lisp/obsolete/x-menu.el: Remove file, obsolete since 21.1 2010-10-02 19:32:03 -07:00
Glenn Morris
aee3c6f7f6 * textmodes/rst.el (rst-font-lock-keywords-function): Drop Emacs 20 code. 2010-10-02 19:26:35 -07:00
Glenn Morris
f88cd11411 * lisp/textmodes/artist.el (artist-replace-char): Drop Emacs 20 code. 2010-10-02 19:22:40 -07:00
Glenn Morris
6abfe35f16 * lisp/printing.el: Drop Emacs 20 code. 2010-10-02 19:17:47 -07:00
Glenn Morris
0f810fbf3e * lisp/gnus/nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code. 2010-10-02 19:12:55 -07:00
Glenn Morris
3615c80cc0 * lisp/gnus/smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code. 2010-10-02 19:09:53 -07:00
Glenn Morris
7530a81be0 * lisp/gnus/gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft. 2010-10-02 19:07:11 -07:00
Glenn Morris
e6389c4eaf Tix fypo in previous change. 2010-10-02 19:03:18 -07:00
Glenn Morris
4ec3f7cf35 * lisp/gnus/gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft. 2010-10-02 19:01:07 -07:00
Glenn Morris
59e31cfa13 Do not autoload appt-delete.
* lisp/calendar/appt.el (appt-delete): Don't autoload it (you can't use it
without having used appt.el already).
2010-10-02 18:56:11 -07:00
Glenn Morris
922ad43e81 * lisp/subr.el (make-local-hook): Remove function obsolete since 21.1.
* lisp/progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
(c-basic-common-init, c-font-lock-init): Only call make-local-hook on
XEmacs.
* lisp/progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
(c-make-styles-buffer-local): Only call make-local-hook on XEmacs.

* lisp/gnu/gnus-util.el (gnus-make-local-hook): Simplify.

* etc/NEWS: Mention above change.
2010-10-02 18:53:04 -07:00
Glenn Morris
ef47f179dc Remove some unused ps-def definitions.
* lisp/ps-def.el (leading-code-private-22, charset-bytes, charset-id)
(charset-width, find-charset-region, chars-in-region, forward-point)
(encode-coding-string, coding-system-p, ccl-execute-on-string)
(define-ccl-program, multibyte-string-p, string-make-multibyte):
Remove compatibility cruft (none of these are used by ps*.el).
2010-10-02 18:35:07 -07:00
Glenn Morris
12421f1c89 url-http.el comment. 2010-10-02 18:30:51 -07:00
Kevin Rodgers
ac6ca7baed * subr.el (booleanp): Return t instead of a list (Bug#7086). 2010-10-02 21:11:20 -04:00
Chong Yidong
6926550f39 * keyboard.c (command_loop_1): Make sure the mark is really alive
before using it (Bug#7044).
2010-10-02 20:59:02 -04:00
Gnus developers
870409d4fb Merge changes made in Gnus trunk.
shr.el: Start implementation.
shr.el: Continue implementation.
gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we should go backward.
shr.el: Minimally useful state achieved.
mm-decode.el (mm-text-html-renderer): Switch to using shr.el for HTML rendering.
shr.el: (shr-insert): Add a newline after every picture before text.
gnus.texi (Splitting Mail): Really fix the @ref syntax.
shr.el (shr-add-font): Use overlays for combining faces.
shr.el (shr-add-font): Use overlays for combining faces.
shr.el (shr-insert): Pass upwards the text start point.
gnus-util.el: Reintroduce multiple completion functions.
2010-10-03 00:33:27 +00:00
Chong Yidong
2a847524ab * lisp/server.el (server-process-filter, server-return-error): Give
emacsclient time to shut down after receiving an error string.

* etc/NEWS: Document tweak to emacsclient exit status.
2010-10-02 20:03:44 -04:00
Wolfgang Schnerring
3ecb8d931a * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an error string
(Bug#6963).
2010-10-02 20:00:01 -04:00
Chong Yidong
986d19df1f Add minor comment (Bug#7001). 2010-10-02 19:10:41 -04:00
Juanma Barranquero
f3fd95db3a lisp/gnus/shr.el (shr): Fix typo in provide call. 2010-10-02 20:31:57 +02:00
Lars Magne Ingebrigtsen
11e4e7bd22 gnus.texi (Splitting Mail): Fix @xref syntax. 2010-10-02 14:07:02 +00:00
Michael Albinus
4bc3c53d1d * files.el (remote-file-name-inhibit-cache): New defcustom.
* time.el (display-time-file-nonempty-p): Use
`remote-file-name-inhibit-cache'.

* net/tramp.el (tramp-completion-reread-directory-timeout): Fix
docstring.

* net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
(tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
`remote-file-name-inhibit-cache'.  Check also for an integer
value.  Add/increase counter when `tramp-verbose' >= 10.
(tramp-set-file-property): Add/increase counter when
`tramp-verbose' >= 10.

* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-cleanup-all-buffers): Set tramp-autoload cookie.
(tramp-bug): Set tramp-autoload cookie.  Report all interned
tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
(tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
characters only in strings.

* net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
to backward compatibility.

* net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
(tramp-handle-file-name-all-completions)
(tramp-handle-vc-registered): Use
`remote-file-name-inhibit-cache'.
(tramp-open-connection-setup-interactive-shell): Call
`tramp-cleanup-connection' directly.
2010-10-02 15:21:43 +02:00
Lars Magne Ingebrigtsen
573a83b802 (url-lazy-message): Remove leftover debugging code. 2010-10-02 14:34:02 +02:00
Juanma Barranquero
54b65f7b40 Rework tags targets in Windows makefiles to protect against old/stupid makes.
* lib-src/makefile.w32-in (tags): Remove target.
* src/makefile.w32-in (tags): Rename target to full-tags.
2010-10-02 14:12:17 +02:00
Ludovic Courtes
affb61b481 Add lisp/gnus/nnregistry.el. 2010-10-02 10:35:45 +00:00