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

98766 commits

Author SHA1 Message Date
Glenn Morris
ebe401f697 Partial fix for bug#8095.
* lisp/files.el (dir-locals-find-file): Doc fix.
Fix the check for cache elements that have no associated file,
and the mtime check for those that do.

Still to do: some places that use dir-locals-find-file assume the
result is always a file, which is not true. (The function name is
misleading.)
2011-02-23 23:47:06 -08:00
Katsumi Yamaoka
a22e7484fa auth-source.el (auth-source-netrc-create): Use `read-char' with no argument that XEmacs doesn't support. 2011-02-24 06:32:33 +00:00
Glenn Morris
1e8dbdc6e8 Replace some obsolete autoconf syntax.
* configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(),
AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments.
2011-02-23 20:28:17 -08:00
Glenn Morris
b36f2f1cb8 Dired-X fix for bug#5216.
* lisp/dired-x.el (dired-hack-local-variables):
Handle interrupts during hacking local variables.
2011-02-23 19:59:04 -08:00
Glenn Morris
3cbbfdc34f * admin/notes/bzr: Small updates. 2011-02-23 19:56:36 -08:00
Glenn Morris
2d8a57efcb Avoid some possible prompts from autoloads.el.
* lisp/emacs-lisp/autoload.el (autoload-save-buffers)
(autoload-find-destination, update-directory-autoloads):
Avoid prompts when updating autoloads.
2011-02-23 19:53:27 -08:00
Gnus developers
fa41748c14 Merge changes made in Gnus trunk.
gnus-art.el (article-make-date-line): Ignore errors if time is invalid and not convertible.
 (article-make-date-line): Only add lapsed time if time is not nil.
auth-source.el (auth-source-netrc-element-or-first): New function to DTRT for parameter extraction.
 (auth-source-netrc-create): Use it and fix multiple parameter print bug.  Use the default passed from above (given-default) or the built-in (user-login-name for :user).
2011-02-23 22:59:34 +00:00
Ben Key
2c6584e817 Fix handling of bar cursors in NS terminal.
* nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument
directly, for bar cursors.

* xdisp.c (set_frame_cursor_types): Don't write an undefined value
into the frame's cursor_width.
2011-02-23 15:41:43 -05:00
Stefan Monnier
53cfe624fc * lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete. 2011-02-23 10:22:28 -05:00
Stefan Monnier
617a0e834a * src/print.c (print_object): Never print old-style backquotes.
Obey escapeflag for hash tables as well.
2011-02-23 10:14:21 -05:00
Teodor Zlatanov
d41d18c098 auth-source.el (auth-source-netrc-create): Use read-char' instead of read-char-choice' for backwards compatibility. 2011-02-23 14:34:44 +00:00
Gnus developers
4a3988d518 Merge changes made in Gnus trunk.
auth.texi (Help for users): Mention ~/.netrc is also searched by default now.
gnus-start.el (gnus-dribble-read-file): Set buffer-save-without-query, since we always want to save the dribble file, probably.
nnmail.el (nnmail-article-group): Allow a final "" split to work on nnimap.
gnus-sum.el (gnus-user-date-format-alist): Renamed back again from -summary- since it's a user-visible variable.
nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the first time you use the new Gnus.
auth-source.el: Don't load netrc.el.
 (auth-sources): Search ~/.netrc as well by default.
 (auth-source-debug): Add 'trivia option for extra output.
 (auth-source-do-trivia): Use it.
 (auth-source-search): Simplify logic to use `auth-source-search-backends'.  Use `auth-source-do-trivia' where appropriate.  Don't keep a running count at this level.  Layer :create and :delete options appropriately on the first and second passes.  Don't track the backend with the search results.
 (auth-source-search-backends): New function to search a list of backends for a processed spec.
 (auth-source-netrc-parse): Cache all netrc files, making auth-source-netrc-cache an alist keyed by the file name and using the file mtime as the caching criterion.  Keep the obfuscated data secret with a lexical bind.
 (auth-source-netrc-search): Don't calculate the length of the results unnecessarily.
 (auth-source-search-backends): Fix bug.
 (auth-source-netrc-create): Rework prompts.
nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key): Lower case names of search constraints.
 (nnir-run-query): Cache and reuse search constraints for all imap servers.
gnus-msg.el (gnus-setup-message): Define missing variable from last checkin.
2011-02-23 13:35:35 +00:00
Glenn Morris
0d327994db Fix some mis-spellings of "precede" that are not in emacs-23 branch. 2011-02-22 23:27:09 -08:00
Glenn Morris
86485587de * etc/NEWS: Typo fixes. 2011-02-22 20:47:11 -08:00
Glenn Morris
a94a2b9be3 * etc/NEWS: Remove some sql-stuff that is not NEWS-worthy. 2011-02-22 20:37:53 -08:00
Glenn Morris
c9f50c819f Comment spelling fix. 2011-02-22 20:27:42 -08:00
Glenn Morris
ed3d163155 * admin/notes/bzr: More details about merging ChangeLogs. 2011-02-22 20:24:13 -08:00
Glenn Morris
cce7d53002 Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org. 2011-02-22 20:19:28 -08:00
Glenn Morris
4902e827bc Remove pointless setting of byte-compile-dynamic in tiny, tiny file. 2011-02-22 20:00:52 -08:00
Glenn Morris
59af988b40 Add comments about fixing dates in merged ChangeLogs. 2011-02-22 19:50:04 -08:00
Glenn Morris
817b48a7bc Obsolete dired-x's directory local variables in favor of standard ones.
* lisp/dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.

* lisp/dired-x.el (dired-omit-mode): Safe if boolean.
(dired-enable-local-variables): Fix doc and custom type.  Mark risky.
(dired-enable-local-variables, dired-local-variables-file)
(dired-hack-local-variables): Make obsolete.
(dired-omit-here-always): Use dir-locals.el instead.

* doc/misc/dired-x.texi (Features): Don't advertise obsolete local variables.
Simplify layout.
(Omitting Variables): Update local variables example.
(Local Variables): Say this is obsolete.  Fix description of
dired-enable-local-variables possible values.

* etc/NEWS: Relocate the existing entry about directory local
variables in file-les buffers, and make it clearer.
Mention above dired changes.
2011-02-22 19:44:13 -08:00
Glenn Morris
51a13bdd93 * doc/misc/dired-x.texi (Features, Local Variables): Fix typos.
(Features): Minor rephrasing.
2011-02-22 19:32:42 -08:00
Glenn Morris
5582c6706a * lisp/files.el (safe-local-eval-forms): Add the write-file-hooks version.
This obsolete form is still supported, and present in some of the
files synced from gnulib, for example.
2011-02-22 19:24:23 -08:00
Kenichi Handa
c1449bffe2 mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found. 2011-02-23 11:32:35 +09:00
Kenichi Handa
9c02aefc95 merge emacs-23 2011-02-23 10:56:49 +09:00
Sam Steingold
7dde5efea3 * lisp/gnus/gnus-msg.el (gnus-setup-message): Also bind `winconf-name'. 2011-02-22 15:08:00 -05:00
Paul Eggert
8d40723d1e * dired.c (Ffile_attributes): Simplify and avoid #ifdef. 2011-02-22 10:32:51 -08:00
Stefan Monnier
5f9d345ca9 * lisp/help-fns.el (describe-function-1): Don't signal an error just because
the DOC file disappeared.
2011-02-22 13:22:04 -05:00
Eli Zaretskii
32e793fa11 Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.
etags.c (canonicalize_filename, ISUPPER): Fix last change.
2011-02-22 20:08:53 +02:00
Wolfgang Jenkner
aa0f73d190 * src/lread.c (openp): Correct Boolean typo in last commit. 2011-02-22 13:02:11 -05:00
Eli Zaretskii
b97decf246 MS-Windows part of 2011-02-21T23:22:34Z!eggert@cs.ucla.edu, addition of min-max.h.
lib-src/makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
 on ../lib/min-max.h.
2011-02-22 19:51:38 +02:00
Paul Eggert
e5075711e5 etags: Downcase drive letters, for consistency with Emacs proper.
* etags.c (upcase): Remove; no longer used.
(canonicalize_filename): Downcase drive letters.
2011-02-22 09:37:06 -08:00
Adrian Robert
bdaa0745ee * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, treat as unmodified (go to input manager processing). 2011-02-22 16:13:54 +02:00
Gnus developers
8e22bee040 Merge changes made in Gnus trunk.
gnus.texi (Article Date): Clarify gnus-article-update-date-headers.
gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name after exit.
gnus-sum.el (gnus-summary-show-article): When called with t as the value, show the raw article.
nnimap.el (nnimap-open-connection-1): Revert last change, since auth-source now accepts numbers.
auth-source.el (auth-source-netrc-parse): Accept a number as the port spec, too.
 (auth-source-ensure-strings): New function.
gnus-art.el (gnus-article-update-date-headers): Doc fix.
 (gnus-article-setup-buffer): Always restart the date timer so that user changes to the frequency is respected.
nnimap.el (nnimap-open-connection-1): auth-source expects strings as port numbers, so make sure it gets that if nnimap-server-port is explicit.
nnimap.el (nnimap-inbox): Doc fix.
2011-02-22 13:31:15 +00:00
Juanma Barranquero
2f8f196d1f src/ChangeLog: Fix typos. 2011-02-22 14:27:23 +01:00
Michael Albinus
ca41d1175f * eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp".  (Bug#8089)
2011-02-22 06:50:25 +01:00
Paul Eggert
9c9ba4ba20 Merge: Assume S_ISLNK etc. work, since gnulib supports this. 2011-02-21 17:58:44 -08:00
Kenichi Handa
e3b300a497 Fix font size handling. 2011-02-22 10:58:03 +09:00
Paul Eggert
f68c809d7e [ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* Makefile.in (GNULIB_MODULES): Add sys_stat.
* configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
* configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.
[lib-src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* etags.c (S_ISREG): Remove.
[src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* config.in: Regenerate.
* dired.c (lstat): Remove.
(file_name_completion): Assume S_ISDIR works.
(file_name_completion_stat): Assume S_ISLNK works.
Do not bother calling stat unless lstat says it's a symlink.
* fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
(Fcopy_file): Assume S_ISREG and S_ISLNK work.
(check_writable, Ffile_writable_p, Fset_file_times):
Assume S_ISDIR works.
(Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
fifos exist.
(Ffile_regular_p, Finsert_file_contents): Assumes S_ISREG works.
* filelock.c (S_ISLNK): Remove.
* lread.c (openp): Assume S_ISDIR works.
* xrdb.c (S_ISDIR): Remove.
2011-02-21 17:55:20 -08:00
Kenichi Handa
5e73594ada merge emacs-23 2011-02-22 10:51:16 +09:00
Kenichi Handa
251ebe0f64 In rmail, decode "encoded-words" of header components on replying. 2011-02-22 10:49:06 +09:00
Juanma Barranquero
31fdb54408 admin/notes/bugtracker (bugtracker_debbugs_url): Fix typo. 2011-02-22 02:04:16 +01:00
Juanma Barranquero
602a5739d4 lib-src/makefile.w32-in (obj): Remove filemode.o. 2011-02-22 01:49:54 +01:00
Kenichi Handa
2e15a2cf4d merge emacs-23 2011-02-22 09:22:09 +09:00
Kenichi Handa
1f459fa46c Decode "encoded-words" of header components on replying. 2011-02-22 09:19:08 +09:00
Paul Eggert
5ecec6a7f4 * movemail.c: Define macros only in needed contexts. 2011-02-21 16:11:56 -08:00
Paul Eggert
d47d631945 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h. 2011-02-21 16:08:53 -08:00
Paul Eggert
9441f0e4fc Merge from mainline. 2011-02-21 15:46:32 -08:00
Paul Eggert
ba01e9d785 [ChangeLog]
* lib/min-max.h: New file, for "min" and "max".
[lib-src/ChangeLog]
New file "lib/min-max.h".
* ebrowse.c (min, max): Define them by including <min-max.h>
instead of defining it ourselves.
* pop.c (min): Likewise.
2011-02-21 15:22:34 -08:00
Paul Eggert
08c690977a * test-distrib.c (buf): Make this local, to avoid shadowing. 2011-02-21 15:15:17 -08:00