1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

96485 commits

Author SHA1 Message Date
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
Lars Magne Ingebrigtsen
367f7f81d1 Merge changes made in Gnus trunk.
gnus-topic.el (gnus-topic-move-group): Fix the syntax of the completing read.
gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
shr.el: New file.
2010-10-02 10:30:06 +00:00
Eli Zaretskii
644d0594a5 Improve TAGS target on MS-DOS.
msdos/mainmake.v2 (TAGS tags): Use `find' to filter out loaddefs
 files.  Make all file names in TAGS tables absolute.
2010-10-02 11:08:47 +02:00
Eli Zaretskii
383ebd154f Invoke kill-emacs on SIGINT on Windows as well.
src/emacs.c (main): Remove !WINDOWSNT conditional.
 (Fkill_emacs): Don't mention exemption on MS-Windows.
 etc/NEWS: Fix the news entry regarding SIGINT in batch mode.
2010-10-02 10:24:14 +02:00
Glenn Morris
3226d6cacf Remove some functions, variables and aliases obsolete since at least 21.1.
* doc/misc/misc.texi (Shell Mode): Remove reference to old function name.

* src/character.c (Fchar_bytes): Remove obsolete function.
(syms_of_character): Remove Schar_bytes.
* lisp/subr.el (char-bytes): Remove obsolete function.

* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.

* lisp/isearch.el (isearch-return-char): Remove obsolete function.

* lisp/mouse.el: No longer provide mldrag.
(mldrag-drag-mode-line, mldrag-drag-vertical-line):
Remove obsolete aliases.

* lisp/comint.el (comint-kill-output): Remove obsolete alias.

* lisp/shell.el: Comment fix.

* lisp/composite.el (decompose-composite-char): Remove obsolete function.
* lisp/ps-def.el (decompose-composite-char): Remove unused function.

* lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.

* lisp/outline.el (outline-visible): Remove obsolete function.

* lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
* lisp/faces.el (internal-find-face, internal-get-face)
(frame-update-faces, frame-update-face-colors)
(x-frob-font-weight, x-frob-font-slant)
(internal-frob-font-weight, internal-frob-font-slant)
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Remove functions and aliases, obsolete
since Emacs 21.1.
* lisp/emulation/viper-util.el (viper-get-face):
* lisp/obsolete/lucid.el (find-face, get-face): Use facep.
* lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
Remove unused functions.
* lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.

* etc/NEWS: Mention above changes.
2010-10-01 19:46:13 -07:00
Glenn Morris
9c524fcb89 Run kill-emacs-hook in batch mode, and on SIGINT in batch mode.
See thread http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00795.html

* src/emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
(main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
in batch-mode.
(Fkill_emacs): Doc fix.  Also run the hook in batch mode.
(kill-emacs-hook): Doc fix.

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
delete tempfile if interrupted during compilation.

* doc/lispref/os.texi (Killing Emacs): Hook now runs in batch mode.

* etc/NEWS: Mention these changes.
2010-10-01 19:30:11 -07:00
Lars Magne Ingebrigtsen
08b8ba9fae Modify url-retrieve and related functions and structures to respect a
`silent' flag to signal that the operation should be silent.
2010-10-02 04:04:20 +02:00
Lars Magne Ingebrigtsen
20a5e99685 Clean up trailing whitespace. 2010-10-02 02:39:15 +02:00
Lars Magne Ingebrigtsen
1b21784963 xml.c: Rework the functions to take regions instead of strings,
and rename the functions to reflect clearly that they come from the
libxml package.
2010-10-02 02:36:47 +02:00
Katsumi Yamaoka
cb83220a60 Update ChangeLog. 2010-10-01 23:14:58 +00:00
Gnus developers
a3f57c41e2 Merge changes made in Gnus trunk.
gnus-registry.el: Fix and extend header docs.  Move the nnregistry feature check.
nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT values.
nnimap.el: Implement nnimap-request-newgroups.
gnus-group.el (gnus-group-completing-read): Return the symbol name, not the value from the collection.
nnimap.el: Don't error out on empty non-UIDNEXT groups.
nnmail.el (nnmail-article-group): Allow using the fancy split method directly.
gnus.el (gnus-continuum-version): Make inactive, since it doesn't really message anything to the user.
gnus-msg.el (gnus-summary-resend-message): When resending, don't externalize attachments.
gnus.el (gnus-large-newsgroup): Mention gnus-large-ephemeral-newsgroup.
gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
message.el (message-shorten-references): Comment on the number "21".
mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the documentation clearer.
ChangeLog: jidanni -> Dan Jacobson.
nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
gnus-sum.el, gnus-win.el: Change the `h' command to only show the article buffer.
gnus-art.el (gnus-summary-save-in-file, gnus-summary-save-in-rmail): Use with-current-buffer instead of gnus-eval-in-buffer-window to avoid popping up frames.
gnus-sum.el (gnus-summary-clear-local-variables): Removed.
gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash table, too.
gnus-async.el: Try to keep the async hash table size reasonable.
nndoc.el (nndoc-type-alist): Do babyl before mime-parts.
gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups we're being queried about.
2010-10-01 23:08:25 +00:00
Eli Zaretskii
0ebf79dee2 Fix initial frame dimensions on MS-DOS.
term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting
 screen dimensions in tty->Wcm.
2010-10-01 22:18:24 +02:00
Eli Zaretskii
ae9cecb95b Fix the MSDOS build broken by 2010-09-26T15:18:47Z!larsi@gnus.org.
sed1v2.inp (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS): Edit to empty.
2010-10-01 21:20:29 +02:00
Eli Zaretskii
54cc6a8387 Fix bug #6349 with cursor positioning in truncated lines.
xdisp.c (set_cursor_from_row): When the row is truncated and
 point is outside the range of displayed characters, position the
 cursor inside the scroll margin.
2010-10-01 19:38:36 +02:00
Lars Magne Ingebrigtsen
82b9f9f5f4 Use url-lazy-message for warnings about ignored cookies.
These messages aren't very interesting for most users.
2010-10-01 16:49:14 +02:00
Lars Magne Ingebrigtsen
6ca26f1d7f (url-http-async-sentinel): Check that the buffer is still alive before
switching to it.
2010-10-01 16:05:25 +02:00
Dan Nicolaescu
4cacd822d1 Do not include stdlib.h and string.h, config.h does it.
* src/xfont.c:
* src/w32term.c:
* src/w32reg.c:
* src/w32inevt.c:
* src/w32heap.c:
* src/w32console.c:
* src/w16select.c:
* src/unexsol.c:
* src/term.c:
* src/sound.c:
* src/scroll.c (m):
* src/gtkutil.c:
* src/font.c:
* src/filelock.c:
* src/fileio.c:
* src/dosfns.c:
* src/dbusbind.c:
* src/bidi.c:
* src/callproc.c:
* src/process.c:
* src/msdos.c:
* src/charset.c: Do not include stdlib.h and string.h, config.h does it.

* configure.in: Include stdlib.h and string.h unconditionally.
2010-10-01 06:56:33 -07:00
Lars Magne Ingebrigtsen
0a887f3950 gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid regexp backtrace overflows. 2010-10-01 13:33:03 +00:00
Dan Nicolaescu
0781e7abcf * src/callproc.c (SIGCHLD): Remove conditional definition, syssignal.h defines it. 2010-10-01 06:06:44 -07:00
Dan Nicolaescu
9bf58201c2 Small process.c cleanups.
* src/process.c: Move #include <pty.h> earlier.
(SIGCHLD): Remove conditional definition, syssignal.h defines it.
(pty_name): Move definition later.
2010-10-01 06:04:07 -07:00
Lars Magne Ingebrigtsen
aecb42aa49 Give up on using gnutls-cli for starttls. 2010-10-01 12:56:44 +00:00
Dan Nicolaescu
088dcc3e8c Use intern_c_string instead of intern.
* src/nsselect.m (syms_of_nsselect):
* src/nsmenu.m (syms_of_nsmenu):
* src/nsfns.m (syms_of_nsfns):
* src/msdos.c (syms_of_msdos):
* src/image.c (syms_of_image):
* src/charset.c (syms_of_charset): Use intern_c_string instead of intern.
2010-10-01 05:25:21 -07:00
Dan Nicolaescu
321401d15f * src/point.h: Remove, unused. 2010-10-01 05:19:52 -07:00
Eli Zaretskii
1dc253e89b nt/ChangeLog: Fix last entry. 2010-10-01 13:52:23 +02:00
Eli Zaretskii
73077a9af5 Support TAGS targets in the w32 build.
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
 emacs-src.tags: New file.
 src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
 (TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
 (nt-TAGS-gmake, nt-TAGS-nmake): New targets.
 lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
 lib-src/makefile.w32-in (tags, TAGS): New targets.
2010-10-01 13:45:16 +02:00
Lars Magne Ingebrigtsen
967f57dcc8 Florian Ragwitz' stuff removed because of missing paperwork. 2010-10-01 11:15:10 +00:00
Eli Zaretskii
19d5deefe5 Fix bug #7102.
gmake.defs: Add a comment with a single quote to fix fontification.
2010-10-01 10:16:39 +02:00
Glenn Morris
1fcaf927db * lisp/obsolete/sc.el: Remove file. 2010-10-01 00:24:35 -07:00
Katsumi Yamaoka
6f76a31e77 gnus-util.el (gnus-completing-read-function): Exclude gnus-icompleting-read and gnus-ido-completing-read from candidates for XEmacs.
Silence the byte compiler.
2010-10-01 06:56:38 +00:00
Katsumi Yamaoka
4b36c6d4de gravatar.el (gravatar-create-image): New function. 2010-10-01 05:50:11 +00:00
Glenn Morris
1ef075bb27 Tweak temporary-file-directory on darwin systems.
* lisp/files.el (temporary-file-directory): On darwin, also try
DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2010-09-30 20:57:26 -07:00
Juanma Barranquero
a16f5f64c7 lisp/server.el (server-start): For compatibility, revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com. 2010-10-01 03:28:45 +02:00
Katsumi Yamaoka
47e088962f Fix previous merge from Gnus trunk. 2010-10-01 00:34:42 +00:00
Gnus developers
6b9588145b nnimap.el (nnimap-request-accept-article): Get the Message-ID without the \r.
nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of SELECT to get the message-id.
gnus-art.el, gnus.el, nnimap.el: Fix up make-obsolete-variable declarations throughout.
gnus.texi (Mail Source Specifiers): Remove webmail.el mentions.
mail-source.el: Removed webmail support.
nntp.el (nntp-server-list-active-group): Document.
gnus.texi (NNTP): Document nntp-server-list-active-group.
gnus.texi (Customizing the IMAP Connection): Remove extra quote.
nnimap.el (nnimap-find-article-by-message-id): Really return the article number.
nnimap.el: Add nnimap-split-fancy.
netrc.el (netrc-credentials, netrc-machine): Return the value of the "default" entry.
nnimap.el: Use tls.el exclusively, and not starttls.el at all.
nnimap.el (nnimap-wait-for-connection): Accept the moronic openssl s_client -starttls output, too.
nnrss.el (nnrss-use-local): Add documentation.
message.el (message-ignored-supersedes-headers): Strip Injection-* headers before superseding.
nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from unencrypted to STARTTLS, if possible.
nnir.el: Use the server names without suffixes.
gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when expanding threads.
gnus-registry.el: Don't follow nnmairix references.  Install the nnregistry refer method.
gnus.texi (Spam Package Configuration Examples, SpamOracle): Remove nnimap-split-rule from examples.
2010-10-01 00:25:50 +00:00
Dan Nicolaescu
55e572ef89 * src/xml.c (parse_string): Use const. 2010-09-30 16:26:40 -07:00
Lars Magne Ingebrigtsen
d4b6d95d51 (Fbacktrace): Don't overwrite print-level on exit.
Also only override Vprint_level if it isn't already bound, and
increase the level to 8 to produce more useful backtraces for bug
reports.
2010-09-30 16:28:22 +02:00
Eli Zaretskii
cad90f3b7a Fix documentation of VC status indicator in mode line.
lisp/vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
 doc/emacs/maintaining.texi (VC Mode Line): Mention all the possible VC
 status indicator characters.
2010-09-30 14:44:25 +02:00
Julien Danjou
743595bc34 gnus-agent.el (gnus-agent-add-group): Fix call to gnus-completing-read. 2010-09-30 10:25:45 +00:00
Gnus developers
229b59da36 Merge changes made in Gnus trunk.
nndraft.el (nndraft-request-expire-articles): Use the group name instead if "nndraft".
gnus.texi (Using IMAP): Remove the @acronyms from the headings.
nnregistry.el: Added.
nnimap.el (nnimap-insert-partial-structure): Be way more permissive when interpreting the structures.
GNUS-NEWS: Minor error in GNUS-NEWS - password-cache.el.
nnimap.el (nnimap-request-accept-article): Add \r\n to the lines to make this work with Cyrus.
gnus-registry.el: Don't prompt on load, which makes it impossible to build Gnus.
gnus-gravatar.el: Add gnus-gravatar-properties.
gnus-agent.el, gnus-art.el, gnus-bookmark.el, gnus-dired.el, gnus-group.el,\
 gnus-int.el, gnus-msg.el, gnus-registry.el, gnus-score.el, gnus-srvr.el,\
 gnus-sum.el, gnus-topic.el, gnus-util.el, gnus.el, mm-decode.el, mm-util.el,\
 mm-view.el, mml-smime.el, mml.el, nnmairix.el, nnrss.el, smime.el:\
 Introduce gnus-completing-read.
gnus-util.el: Make completing-read function configurable.
gnus-util.el: Add requires and fix history for iswitchb.
webmail.el: Remove netscape/my-deja, since they no longer exist.
gnus.el (gnus-local-domain): Declare variable obsolete.
nnimap.el (nnimap-insert-partial-structure): Get the type from the correct slot, too.
pop3.el (pop3-send-streaming-command, pop3-stream-length): New variable.
nnimap.el (nnimap-open-connection): Revert the auto-network->starttls code.
nnimap.el (nnimap-request-set-mark): Erase the buffer before issuing commands.
nnimap.el (nnimap-split-rule): Mark as obsolete.
gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a symbol.
nnimap.el (nnimap-split-incoming-mail): Allow `default' as nnimap-split-methods value.
nnimap.el (nnimap-request-article): Downcase the NILs so that they are nil.
nndoc.el (nndoc-retrieve-groups): New function.
gnus.texi: Fix Gravatar documentation.
2010-09-30 08:39:23 +00:00
Juanma Barranquero
968ef9b4da lisp/server.el: Use just one way to pass the Emacs PID to emacsclient.
* lib-src/emacsclient.c (get_server_config): Don't read Emacs pid from
  the authentication file.

* lisp/server.el (server-start): Don't write pid to the authentication file.
  (server-create-tty-frame): Don't send pid.
  (server-process-filter): Send pid at the start of every connection.
2010-09-30 04:53:26 +02:00
Glenn Morris
cf16af4234 etc/NEWS updates. 2010-09-29 19:23:25 -07:00
Glenn Morris
8e378d88cc Remove some diary-lib function aliases, obsolete since 22.1.
* lisp/calendar/diary-lib.el (view-diary-entries, list-diary-entries)
(show-all-diary-entries): Remove obsolete function aliases.
2010-09-29 19:18:24 -07:00
Glenn Morris
3536dea896 Remove some obsolete appt.el code.
* lisp/calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
Remove options, obsolete since 22.1.
(appt-display-format, appt-display-message): Remove
backwards-compatibility code.
(appt-check): No longer check appt-issue-message.
(appt-make-list): No longer autoload it.  Doc fix.  No longer
activate the package.
2010-09-29 19:15:17 -07:00
Dan Nicolaescu
e4b6db1206 * src/Makefile.in: ecrt0.c does not exist anymore, do not mention it. 2010-09-29 18:20:51 -07:00