1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

98891 Commits

Author SHA1 Message Date
Paul Eggert
564ff1f20c * make-docfile.c (write_globals): Change char * to char const *
to avoid a GCC "assignment discards qualifiers" diagnostic
in some configurations.
2011-02-25 14:05:43 -08:00
Paul Eggert
d9d0d182da * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and
generate a special message for it.  Suggested by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
2011-02-25 13:20:06 -08:00
Paul Eggert
36f13e1667 Simplify symlink portability workaround. 2011-02-25 12:05:36 -08:00
Paul Eggert
4ad8955513 * src/dired.c: Add comment and code explaining magic number. 2011-02-25 11:08:18 -08:00
Jambunathan K
7fe42546dd Fix package uploading for newly made or local archives.
* emacs-lisp/package-x.el (package--archive-contents-from-url)
(package--archive-contents-from-file): New functions.
(package-update-news-on-upload): New var.
(package-upload-buffer-internal): Extract archive-contents from
package-archive-upload-base if it is not found at archive-url.
Obey package-update-news-on-upload.
(package-upload-buffer, package-upload-file): Doc fix.
2011-02-25 13:30:00 -05:00
Gnus developers
003522ceb6 Merge changes made in Gnus trunk.
auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'.
 (auth-source-netrc-create): Use it.
 (auth-source-never-save): Remove.
nnimap.el (nnimap-stream): Doc fix.
 (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first.
gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection.
gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters.
auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts.
 (auth-source-search): Document it.
 (auth-source-format-prompt): Add utility function.
 (auth-source-netrc-create): Don't default the user name to user-login-name.  Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly).
 (auth-source-never-save): Add customizable option to never save info.
 (auth-source-netrc-create): Use it and improve save prompts.  Fix help mode excursion.
2011-02-25 12:53:00 +00:00
Eli Zaretskii
116b6d3875 Fix bug #8096 with "regexp search" indexing.
search.texi (Regexp Search): Move index entries about regexps to the
 "Regexps" node.  Add index entries for regexp search.
2011-02-25 13:30:47 +02:00
Paul Eggert
d3af8a57b4 Elaborate my most-recent ChangeLog entry. 2011-02-25 02:03:28 -08:00
Glenn Morris
081f76404c Doc fix for bug#3577.
* doc/lispref/variables.texi (Directory Local Variables):
Mention the optional mtime argument of dir-locals-set-directory-class.
2011-02-24 23:59:40 -08:00
Paul Eggert
4394ee0474 Merge from mainline. 2011-02-24 23:36:37 -08:00
Paul Eggert
9411886d38 Regenerate. 2011-02-24 23:23:41 -08:00
Paul Eggert
a07b892ff1 Merge from mainline. 2011-02-24 22:42:06 -08:00
Paul Eggert
b18947669c * dired.c (Ffile_attributes): Increase size of modes from 10 to 12 2011-02-24 22:30:50 -08:00
Glenn Morris
6a88f031c8 Yet more directory-local variables fixes.
* lisp/files-x.el (modify-dir-local-variable): Handle dir-locals from
the cache, and from non-file sources.
2011-02-24 00:45:25 -08:00
Glenn Morris
303f9ae014 Fix for another bit of bug#8095, re dir-locals.
* lisp/help-fns.el (describe-variable): Return consistent results when a
dir-local from a file came from the cache or did not.
If a dir-local has no associated file, say it came from a "directory".
2011-02-24 00:26:25 -08:00
Glenn Morris
07915ed93c More dir-locals fixes for files.el.
* lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
Doc fix (say _which_ directory `dir-name' is).
(hack-dir-local-variables): Fix setting of `dir-name'.
Previous value seems clearly wrong.  Eg put a risky variable in a
dir-locals file, visit a file in a subdirectory, see which directory
it says the risky variables come from.  It should be the one with the
associated directory variables, not the one containing the visited file.
2011-02-24 00:02:45 -08:00
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
Juanma Barranquero
8307f92370 Fix typos. 2011-02-23 20:56:30 +01: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
Juanma Barranquero
f1cffc3d52 lisp/org/org-table.el: Fix typos in docstrings. 2011-02-23 12:25:29 +01: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
6e81c8191f Fix typo "comand". 2011-02-22 23:15:55 -08:00
Glenn Morris
97610156f4 Fix spelling of "precede". 2011-02-22 23:08:12 -08:00
Glenn Morris
61cf3a767d * doc/misc/dbus.texi (Type Conversion): Grammar fix. 2011-02-22 23:03:27 -08:00
Glenn Morris
0105dc3e03 Fix spelling of "supersede". 2011-02-22 21:10:10 -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
e8b5c6a20c Comment spelling fix. 2011-02-22 20:26:42 -08:00
Glenn Morris
ed3d163155 * admin/notes/bzr: More details about merging ChangeLogs. 2011-02-22 20:24:13 -08:00
Glenn Morris
6230011fdd Remove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
No need to merge this to trunk.
2011-02-22 20:21:48 -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