1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

98891 Commits

Author SHA1 Message Date
Eli Zaretskii
42af913dd4 xdisp.c (display_line): Fix the change made for bug#7939. 2011-02-18 17:11:10 +02:00
Eli Zaretskii
d6de49a103 Fix bug #7840 with default terminal and keyboard encodings.
terminal.c (create_terminal): Use default-keyboard-coding-system
 and default-terminal-coding-system to initialize coding systems of
 the new terminal.
2011-02-18 16:48:28 +02:00
Eli Zaretskii
0c973505c8 Synchronize @dircategory directives in doc/misc with info/dir.
ada-mode.texi: Sync @dircategory with ../../info/dir.
 auth.texi: Sync @dircategory with ../../info/dir.
 autotype.texi: Sync @dircategory with ../../info/dir.
 calc.texi: Sync @dircategory with ../../info/dir.
 cc-mode.texi: Sync @dircategory with ../../info/dir.
 cl.texi: Sync @dircategory with ../../info/dir.
 dbus.texi: Sync @dircategory with ../../info/dir.
 dired-x.texi: Sync @dircategory with ../../info/dir.
 ebrowse.texi: Sync @dircategory with ../../info/dir.
 ede.texi: Sync @dircategory with ../../info/dir.
 ediff.texi: Sync @dircategory with ../../info/dir.
 edt.texi: Sync @dircategory with ../../info/dir.
 eieio.texi: Sync @dircategory with ../../info/dir.
 emacs-mime.texi: Sync @dircategory with ../../info/dir.
 epa.texi: Sync @dircategory with ../../info/dir.
 erc.texi: Sync @dircategory with ../../info/dir.
 eshell.texi: Sync @dircategory with ../../info/dir.
 eudc.texi: Sync @dircategory with ../../info/dir.
 flymake.texi: Sync @dircategory with ../../info/dir.
 forms.texi: Sync @dircategory with ../../info/dir.
 gnus.texi: Sync @dircategory with ../../info/dir.
 idlwave.texi: Sync @dircategory with ../../info/dir.
 mairix-el.texi: Sync @dircategory with ../../info/dir.
 message.texi: Sync @dircategory with ../../info/dir.
 mh-e.texi: Sync @dircategory with ../../info/dir.
 newsticker.texi: Sync @dircategory with ../../info/dir.
 nxml-mode.texi: Sync @dircategory with ../../info/dir.
 org.texi: Sync @dircategory with ../../info/dir.
 pcl-cvs.texi: Sync @dircategory with ../../info/dir.
 pgg.texi: Sync @dircategory with ../../info/dir.
 rcirc.texi: Sync @dircategory with ../../info/dir.
 reftex.texi: Sync @dircategory with ../../info/dir.
 remember.texi: Sync @dircategory with ../../info/dir.
 sasl.texi: Sync @dircategory with ../../info/dir.
 sc.texi: Sync @dircategory with ../../info/dir.
 semantic.texi: Sync @dircategory with ../../info/dir.
 ses.texi: Sync @dircategory with ../../info/dir.
 sieve.texi: Sync @dircategory with ../../info/dir.
 smtpmail.texi: Sync @dircategory with ../../info/dir.
 speedbar.texi: Sync @dircategory with ../../info/dir.
 trampver.texi [emacs]: Set emacsname to "Emacs".
 tramp.texi: Sync @dircategory with ../../info/dir.
 url.texi: Sync @dircategory with ../../info/dir.
 vip.texi: Sync @dircategory with ../../info/dir.
 viper.texi: Sync @dircategory with ../../info/dir.
 widget.texi: Sync @dircategory with ../../info/dir.
 woman.texi: Sync @dircategory with ../../info/dir.
2011-02-18 15:57:53 +02:00
Eli Zaretskii
e03b2fd40d Document find-file-literally in the ELisp manual.
files.texi (Visiting Functions): Document find-file-literally,
 both the command and the variable.
2011-02-18 12:23:51 +02:00
Eli Zaretskii
86ec878a6b Improve documentation of permanent local variables.
variables.texi (Creating Buffer-Local): Explain the meaning of
 permanent local variables.
2011-02-18 12:04:48 +02:00
Glenn Morris
135dee5572 Silence prolog.el compilation.
* lisp/progmodes/prolog.el: Don't require compile when compiling.
  -- not using any macros from it, it's just a cheap way to silence the
  compiler that actually produces one warning.
(compilation-shell-minor-mode, compilation-error-regexp-alist)
(compilation-forget-errors, compilation-fake-loc)
(compilation-parse-errors-function, compilation-error-list): Declare.
(prolog-inferior-mode): Require 'compile.
2011-02-18 00:42:21 -08:00
Glenn Morris
15e0d5a174 * lisp/emulation/cua-base.el (pc-selection-mode): Declare. 2011-02-18 00:17:20 -08:00
Paul Eggert
942f733fd1 Import crypto/md5 module from gnulib.
* Makefile.in (MAKEFILE_MODULES): Add crypto/md5.
* admin/notes/copyright: Remove src/md5.c and src/md5.h as
special cases.
* src/Makefile.in (base_obj): Remove md5.o, since this file
is in lib now.
* src/deps.mk (md5.o): Remove.
* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
Regenerate.
* lib/md5.c: Regenerate.  This renames the file from src/md5.c,
and adds some porting improvements from gnulib.
* lib/md5.h: Regenerate, likwise; rename from src/md5.h.
* m4/md5.m4: New file, from gnulib.

2011-02-18  Paul Eggert  <eggert@cs.ucla.edu>
2011-02-18 00:07:03 -08:00
Glenn Morris
002b46b7b4 Use generated-autoload-file for internal eieio autoloads.
* lisp/emacs-lisp/eieio-custom.el: Set generated-autoload-file.
(customize-object): Add autoload cookie.

* lisp/emacs-lisp/eieio-opt.el: Set generated-autoload-file.
(eieio-browse, describe-class, eieio-describe-class)
(eieio-describe-constructor, describe-generic, eieio-describe-generic)
(eieio-help-mode-augmentation-maybee): Add autoload cookies.

* lisp/emacs-lisp/eieio.el: Regenerate with automatic autoloads.

* lisp/Makefile.in (autoloads): Make eieio.el writable.
2011-02-18 00:00:08 -08:00
Glenn Morris
f31f846933 * doc/misc/dired-x.texi (Optional Installation File At Point): Simplify. 2011-02-17 23:54:28 -08:00
Glenn Morris
d1be20a1d3 dired-x largely cosmetic changes.
* lisp/dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
(dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
(dired-hack-local-variables): Use inhibit-read-only.
(dired-guess-default): Simplify.
(dired-make-relative-symlink): Use dotimes.
(dired-simultaneous-find-file): Use dolist.
(dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
(dired-x-hands-off-my-keys): Doc fix.
(dired-x-bind-find-file): Doc fix.  Use remapping.
(after-init-hook): No need to add dired-x-bind-find-file.
(dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
No need to call expand-file-name.
(dired-filename-at-point): Remove unused locals `end', `filename'.
2011-02-17 23:48:40 -08:00
Paul Eggert
37b3d30244 Merge from mainline. 2011-02-17 23:44:39 -08:00
Paul Eggert
7d315eb678 Import IRIX 6.5 getloadavg fixes from gnulib.
* configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.
2011-02-17 23:41:43 -08:00
Glenn Morris
b803a8094f * lisp/.gitignore: Remove arch-tag. 2011-02-17 21:21:57 -08:00
Glenn Morris
85ee3c753c * lisp/gnus.el (gnus-meta): Doc fix. 2011-02-17 21:17:10 -08:00
Glenn Morris
72d6685c11 * lisp/files.el (find-file-literally): Doc fix. 2011-02-17 21:15:22 -08:00
Glenn Morris
dff9ac4659 * doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it. 2011-02-17 21:11:26 -08:00
Stefan Monnier
f9d554dd46 * lisp/emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns. 2011-02-17 23:58:21 -05:00
Christian Ohler
5da16a8641 Fix ERT.
* lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-results-pop-to-timings): Revert parts of 2011-02-02T17:59:44Z!sds@gnu.org that
were incorrect and unnecessary.  This should make `make check'
pass again.
2011-02-18 15:20:36 +11:00
Stefan Monnier
b286858c7a Don't GC-scan stack data redundantly.
* src/alloc.c (Fgarbage_collect): When using stack scanning, don't
redundantly scan byte-code stacks, catchlist, and handlerlist.
* src/bytecode.c (BYTE_MAINTAIN_TOP): New macros.
(struct byte_stack): Only define `top' and `bottom' if used.
(mark_byte_stack): Only define if used.
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Nullify if BYTE_MAINTAIN_TOP
is not set.
(Fbyte_code): Don't set `bottom' unless BYTE_MAINTAIN_TOP is set.
* src/lisp.h (BYTE_MARK_STACK): New macro.
(mark_byte_stack): Only declare if BYTE_MARK_STACK is set.
* src/term.c (OUTPUT_IF): Use OUTPUT.
2011-02-17 21:07:36 -05:00
Lars Ingebrigtsen
3804652098 auth-source.el (auth-source-search): Don't try to create credentials if the caller doesn't want that. 2011-02-18 01:48:21 +00:00
Lars Ingebrigtsen
c13bc26baa nnimap.el (nnimap-log-command): Add a newline to the inhibited logging.
(nnimap-credentials): Protect against auth-source-search returning nil.
 (nnimap-request-list): Protect against not being able to open the server.
2011-02-18 00:41:50 +00:00
Lars Ingebrigtsen
1d2c4a492b auth-source.el (auth-source-search): Do a two-phase search, one with no :create to get the responses from all backends. 2011-02-17 23:48:59 +00:00
Gnus developers
7ba93e9439 Merge chagnes made in Gnus trunk.
auth.texi (GnuPG and EasyPG Assistant Configuration): Mention the default now is to have two files in `auth-sources'.
nnimap.el (nnimap-open-connection-1): Delete duplicate server names when getting credentials.
gnus-util.el (gnus-delete-duplicates): New function.
nnimap.el (nnimap-credentials): Instead of picking the first port as a creation default, pass the whole port list down.  It will be completed.
auth-source.el (auth-source-search): Updated docs to talk about multiple creation choices.
 (auth-source-netrc-create): Accept a list as a value (from the search parameters) and do completion on that list.  Keep a separate netrc line with the password obscured for showing the user.
nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the first choice to `auth-source-search' so it will be used for entry creation instead of the server's Gnus-specific name.
 (nnimap-credentials): Rely on the auth-source library to select which port is actually wanted in the new netrc entry, so don't override `auth-source-creation-defaults'.
2011-02-17 23:46:18 +00:00
Ken Manheimer
2a095cec7a (allout-encrypt-string): Recognize epg failure to decrypt gpg2 armored text
using gpg1, and add indication the gpg version *might* be the problem in
the error message.
2011-02-17 17:57:38 -05:00
Ken Manheimer
3a00a36316 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
(allout-widgets-icons-dark-subdir): Track relocations of icons
* lisp/allout.el: Remove commentary about remove encryption passphrase
mnemonic support and verification.
* etc/images/icons/allout-widgets/dark-bg,
etc/images/icons/allout-widgets/light-bg,
encrypted-locked.{xpm,png}, unlocked-encrypted.{xpm,png}: Reorganize icon
directories and files to reconcile against windows short-filename clashes.
2011-02-17 16:47:18 -05:00
Teodor Zlatanov
a202ff49bf auth-source.el (auth-source-debug): Default to off. 2011-02-17 12:50:01 +00:00
Teodor Zlatanov
35123c042e auth.texi (Help for users): Use :port instead of :protocol for all auth-source docs.
auth-source.el (auth-source-netrc-parse): Use :port instead of :protocol and accept a missing user, host, or port as a wildcard match.
 (auth-source-netrc-search, auth-source-netrc-create)
 (auth-source-secrets-search, auth-source-secrets-create)
 (auth-source-user-or-password, auth-source-backend, auth-sources)
 (auth-source-backend-parse-parameters, auth-source-search): Use :port instead of :protocol.
nnimap.el (nnimap-credentials): Pass a port default to `auth-source-search' in case an entry needs to be created.
 (nnimap-open-connection-1): Use :port instead of :protocol.
2011-02-17 12:08:48 +00:00
Deniz Dogan
73057ba922 * lisp/net/rcirc.el (rcirc-float-time): New function.
(rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-ctcp-sender-PING): Use it.
2011-02-17 12:41:49 +01:00
Jan Djärv
124c9ff0e5 Fix KVAR/BVAR,
* nsfns.m (Fx_create_frame, ns_set_name_as_filename)
(Fns_read_file_name): Replace B_ with BVAR.

* nsterm.m (ns_term_init): Use KVAR.
2011-02-17 11:19:29 +01:00
Kenichi Handa
dbc0543206 Fix font-size handling bug. 2011-02-17 16:47:29 +09:00
Glenn Morris
41002397ee * lisp/simple.el (rfc822-goto-eoh): Give it a doc-string. 2011-02-16 23:43:53 -08:00
Glenn Morris
b8bd990898 log-edit.el fix for bug#8057.
* lisp/log-edit.el (log-edit-insert-changelog):
Fix `log-edit-strip-single-file-name' functionality.
2011-02-16 23:27:37 -08:00
Glenn Morris
df70a04b09 * lisp/progmodes/prolog.el: Header comment fix. 2011-02-16 21:16:12 -08:00
Glenn Morris
53ef76c7d3 Convert some defvars to defcustoms.
* lisp/speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
(speedbar-update-flag, speedbar-fetch-etags-command)
(speedbar-fetch-etags-arguments):
* lisp/term.el (term-buffer-maximum-size, term-input-chunk-size)
(term-completion-autolist, term-completion-addsuffix)
(term-completion-recexact, term-completion-fignore):
* lisp/term/sup-mouse.el (sup-mouse-fast-select-window):
* lisp/term/x-win.el (x-select-request-type):
Convert some defvars with "*" to defcustoms.
2011-02-16 21:13:17 -08:00
Katsumi Yamaoka
d638ac9ecc auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4. 2011-02-17 05:09:02 +00:00
Glenn Morris
64a14c74cb shell.el fix for bug#8027 and friends.
* lisp/shell.el (shell-delimiter-argument-list): Set it to nil.

This is a test, to see if causes any issues.
2011-02-16 21:02:02 -08:00
Glenn Morris
92e39d6fbf vc.el fix for bug#4496.
* lisp/vc/vc.el (vc-default-previous-version):
Remove broken alias that points nowhere.
2011-02-16 20:57:22 -08:00
Glenn Morris
fc14288b71 More dired-x cleanup.
* lisp/dired-x.el (dired-clean-up-after-deletion):
kill-buffer does not need save-excursion.
(dired-do-run-mail): Doc fix.
(dired-filename-at-point): Doc fix.
Use looking-at, and skip-chars rather than re search.
(skip-chars were used prior to 2003-01-27T11:36:08Z!fx@gnu.org, and are ok to use again
since Emacs 22.1, because char-classes are supported.)
2011-02-16 20:50:47 -08:00
Glenn Morris
4e35870521 Fix copyright, standardize header and licence. 2011-02-16 20:41:29 -08:00
Glenn Morris
8551cb3203 * lisp/dired-x.el (dired-filename-at-point): Fix 8-year old typo.
Introduced in 2003-01-27T11:36:08Z!fx@gnu.org, 2003/01/27.
2011-02-16 20:38:23 -08:00
Chong Yidong
b9c82730f9 Don't let-bind copyright-update in nnfolder-save-buffer.
See:
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00284.html
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00651.html

* nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
in case it's not yet loaded.
2011-02-16 20:46:55 -05:00
Gnus developers
584c9d3fd0 Merge changes made in Gnus trunk.
gnus-sum.el (gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn't get updated.
auth-source.el (auth-source-netrc-create): Return a synthetic search result when the user doesn't want to write to the file.
 (auth-source-netrc-search): Expect a synthetic result and proceed accordingly.
 (auth-source-cache-expiry): New variable to override `password-cache-expiry'.
 (auth-source-remember): Use it.
nnimap.el (nnimap-credentials): Remove the `inhibit-create' parameter.  Create entry if necessary by using :create t.
 (nnimap-open-connection-1): Don't pass `inhibit-create'.
2011-02-16 23:12:47 +00:00
Ken Manheimer
aac7a93503 * lisp/allout-widgets.el: New allout extension that shows allout outline
structure with graphical widgets.  'allout-widgets' customize group is an
'allout' subgroup, for easy discovery.
* etc/images/icons/allout-widgets-dark-bg,
etc/images/icons/allout-widgets-light-bg: Icons for new allout-widgets.el.
* etc/images/icons/README: Include coypright and GPL 3 license for new
icons.
2011-02-16 17:10:43 -05:00
Ken Manheimer
9649765353 Include PGP and GnuPG in Keywords, and other commentary refinements.
(allout-abbreviate-flattened-numbering): Rename to
allout-flattened-numbering-abbreviation, and define-obsolete-variable-alias
the old name.
(allout-flattened-numbering-abbreviation): Rename from
allout-abbreviate-flattened-numbering.
(allout-mode-p): Include among autoloads, for use by other modes with impunity.
(allout-listify-exposed): Use allout-flattened-numbering-abbreviation.
(allout-encrypt-string): Use set-buffer-multibyte directly.
(allout-set-buffer-multibyte): Remove.
2011-02-16 16:29:32 -05:00
Deniz Dogan
be4a1d714e * lisp/simple.el (just-one-space): Remove useless `or' call. 2011-02-16 22:06:23 +01:00
Michael Albinus
274c2d34f1 * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
(soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
(soap-decoded-multi-refs, soap-current-wsdl)
(soap-encoded-namespaces): Rename CL-style *...* variables.
2011-02-16 20:56:31 +01:00
Michael Albinus
12fe5bcc83 * NEWS: Add soap-client.el and soap-inspect.el. 2011-02-16 20:41:31 +01:00
Michael Albinus
88ae2870cb * net/soap-client.el: Add "comm" and "hypermedia" to the
keywords.  Reflow too long lines.

* net/soap-inspect.el: Ditto.  Require 'cl.
2011-02-16 20:33:35 +01:00
Eli Zaretskii
026d69ecec Use KVAR in the MS-DOS build.
msdos.c (internal_terminal_init): Use KVAR.
2011-02-16 21:09:20 +02:00