1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00
Commit Graph

109365 Commits

Author SHA1 Message Date
Gnus developers
cc21c2356d Merge changes made in Gnus master
2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
  buffer to the article buffer here, because that clobbers multiple
  article buffers.
* gnus-art.el (gnus-article-setup-buffer): Make sure that the article
  buffer always points to the right summary buffer.

2012-12-25  John Wiegley  <jwiegley@gmail.com>
* auth-source.el (auth-source-netrc-parse): Allow using "password" as
  the password (bug#12097).

2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
  (bug#13263).
* gnus-salt.el (gnus-highlight-selected-tree): Check whether the Tree
  buffer exists before using it (bug#12475).
* gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
  offline groups (bug#11937).
* message.el (message-yank-original): When using customize to set the
  value of `message-cite-style', the variable it set to a symbol that's
  the name of the variable, which must then be dereferenced (bug#12616).

2012-09-13  Wolfgang Jenkner  <wjenkner@inode.at>
* lisp/gnus-spec.el (gnus-face-face-function): Initialize the value of
  the `face' property with a list whose car is the face specified in the
  format string and whose cdr is (nil).
* lisp/gnus-util.el
  (gnus-put-text-property-excluding-characters-with-faces): Change
  accordingly.
  (gnus-get-text-property-excluding-characters-with-faces): New function.
* lisp/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus-salt.el (gnus-tree-highlight-node):
* lisp/gnus-group.el (gnus-group-highlight-line): Use it.
2012-12-25 22:12:59 +00:00
Eli Zaretskii
f1665bdc87 Fix window-body-width on text terminals.
src/window.c (window_body_cols): Subtract display margins from the
 window body width on TTYs as well.  See
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html
 for the original report.
2012-12-25 19:37:29 +02:00
Eli Zaretskii
b764d018bc Avoid compiler warnings in w32.c:acl_to_text. 2012-12-25 19:14:23 +02:00
Dmitry Antipov
cd78d9b191 * xterm.h (struct x_output): Remove toolbar_detached member since it's
set but never used.
* gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
(xg_create_tool_bar): Adjust users.
2012-12-25 19:07:59 +04:00
Lars Ingebrigtsen
45dd64808b Merge changes made in Gnus master
nnimap.el (nnimap-authenticator): Expand to allow specifying the
  login methods.
  (nnimap-login): Respect the `nnimap-authenticator' variable.
gnus-sum.el (gnus-summary-push-marks-to-backend): Push the complete
  mark state when moving articles.  Otherwise unticked articles will get
  their ticks back after moving.
gnus.texi (Customizing the IMAP Connection): Mention the other
  authenticators.
2012-12-25 12:00:26 +00:00
Dmitry Antipov
9a0d4f34c6 * xdisp.c (redisplay_window): Remove inner local variable
because the outer shadowed one has the same meaning.
2012-12-25 15:37:21 +04:00
Lars Ingebrigtsen
61bbede67c Merge changes made in Gnus master
gnus-srvr.el (gnus-browse-delete-group): Fix syntax error.
message.el (message-ignored-news-headers): Always remove
  X-Message-SMTP-Method to avoid information leakage if the user
  mistakenly inserts the header into news messages.
gnus-srvr.el (gnus-browse-delete-group): New command and keystroke.
gnus-sum.el (gnus-summary-hide-thread): If point were further to the
  right than four characters, this command would move point to
  `point-max'.  Don't do that.
gnus-group.el (gnus-group-read-ephemeral-group): Set the active data
  to nil to allow re-selecting groups that gain articles.
  (gnus-bug-group-download-format-alist): Update the URL.
gnus.texi (Browse Foreign Server): Document `gnus-browse-delete-group'.
2012-12-24 22:56:47 +00:00
Constantin Kulikov
dc64635827 Allow function as value of initial-buffer-choice (Bug#13251).
* startup.el (initial-buffer-choice): Allow function as value
(Bug#13251).
(command-line-1): Handle case where initial-buffer-choice
specifies a function.
* server.el (server-execute): Handle case where
initial-buffer-choice specifies a function.
2012-12-24 18:49:19 +01:00
Eli Zaretskii
c1860cdc02 Fix the MS-Windows build.
nt/inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
 in lib/filemode.c that broke the MS-Windows build.
 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
2012-12-24 17:56:17 +02:00
Lars Ingebrigtsen
24d0bb6be2 lisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds 2012-12-24 13:28:39 +00:00
Dmitry Antipov
2944d406db * buffer.c (Fset_buffer_modified_p): Use buffer_window_count
to check whether the buffer is displayed in some window.
* xdisp.c (message_dolog): Likewise.
2012-12-24 16:21:42 +04:00
Lars Ingebrigtsen
e7d52a4de5 Make smtpmail forget the password if the server says it's invalid
* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
its own function.
(smtpmail-try-auth-methods): Forget the user name/password if the
login is unsuccessful.

Fixes: debbugs:12424
2012-12-24 13:14:04 +01:00
Dmitry Antipov
f9e7c67e4c * buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
2012-12-24 15:41:28 +04:00
Glenn Morris
dab2e22def Auto-commit of generated files. 2012-12-24 06:17:34 -05:00
Paul Eggert
219023c434 Merge from gnulib. 2012-12-23 22:24:08 -08:00
Andreas Schwab
087d8265e4 lisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold 2012-12-24 04:21:58 +00:00
Eli Zaretskii
40ff07a5a0 Don't fail in acl_set_file on MS-Windows if the operation is a no-op.
src/w32.c (acl_set_file): If setting the file security descriptor
 fails, and the new DACL is identical to the existing one, silently
 return success.  This fixes problems for users backing up their
 own files without having the necessary privileges for setting
 security descriptors.
2012-12-23 19:16:33 +02:00
Eli Zaretskii
299614f3bc Improve handling of subprocess shutdown on MS-Windows.
src/w32proc.c (reader_thread): Do not index fd_info[] with negative
 values.
 (reader_thread): Exit when cp->status becomes STATUS_READ_ERROR
 after WaitForSingleObject returns normally.  This expedites reader
 thread shutdown when delete_child triggers it.
 (reap_subprocess): More accurate commentary for why we call
 delete_child only when cp->fd is negative.
 src/w32.c (sys_close): Do not call delete_child on a subprocess
 whose handle is not yet closed.  Instead, set its file descriptor
 to a negative value, so that reap_subprocess will call
 delete_child on that subprocess when its SIGCHLD arrives.  This
 avoids closing handles used for communications between sys_select
 and reader_thread, which doesn't give sys_select a chance to
 notice that the process exited and invoke the SIGCHLD handler for
 it.
2012-12-23 19:06:58 +02:00
Jan Djärv
9c3dcdaafa * TODO: Adjust entry about NS event loop. 2012-12-23 15:46:37 +01:00
Gnus developers
1a8b65e042 Merge changes made in Gnus master
2012-12-23 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-int.el (gnus-backend-trace): Factor out into its own function for reuse.
  (gnus-open-server): Use it to add more tracing.
  (gnus-finish-retrieve-group-infos): Add backend tracing.

2012-12-22 Philipp Haselwarter <philipp@haselwarter.org>
* gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save):
  Set epa-file-encrypt-to from variable to avoid querying.
2012-12-23 12:45:01 +00:00
Jan Djärv
cf162aee2b * nsfns.m (Fns_do_applescript): Run event loop until script has
been executed.
(ns_run_ascript): Chech as_script for nil, set to nil after
executing script.

Fixes: debbugs:12969
2012-12-23 13:35:37 +01:00
Glenn Morris
a0b4e66e07 Mention self-registration for ftp uploads 2012-12-22 18:41:17 -08:00
Michael Albinus
1ef5f225db * notifications.el (notifications-notify): Protect body with
`with-demoted-errors'.
2012-12-22 23:03:18 +01:00
Glenn Morris
d9b03add86 Don't go from numbered to unnumbered to numbered 2012-12-22 12:32:55 -08:00
Glenn Morris
6d1962b3c7 Remove hand-written node pointers in doc/misc/reftex.texi
Fix up sectioning
2012-12-22 12:29:16 -08:00
Glenn Morris
faeea569ef Remove hand-written node pointers in doc/misc/wisent.texi 2012-12-22 12:19:41 -08:00
Glenn Morris
e540f1fad4 Remove hand-written node pointers in doc/misc/pcl-cvs.texi 2012-12-22 12:11:36 -08:00
Glenn Morris
1a5d321539 Remove hand-written node pointers in doc/misc/viper.texi
Fix up sectioning
2012-12-22 12:06:25 -08:00
Glenn Morris
c047952bc6 Remove hand-written node pointers in doc/misc/widget.texi
Fix up sectioning
2012-12-22 11:57:35 -08:00
Glenn Morris
563a450c01 Remove more hand-written node pointers in doc/misc 2012-12-22 11:49:54 -08:00
Glenn Morris
fdf4d02e7c Remove comments about long-form of @node commands 2012-12-22 11:42:36 -08:00
Glenn Morris
00afe3a454 Merge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.org 2012-12-22 11:09:52 -08:00
Glenn Morris
ddc412646d Add doclicense.texi dependency for doc/misc/Makefile targets
* doc/misc/Makefile.in (gfdl): New variable.
Use throughout where appropriate so that targets depend on doclicense.texi.
2012-12-22 11:06:29 -08:00
Glenn Morris
19e9f4352e Add doclicense.texi dependency for doc/lispintro Makefile
* doc/lispintro/Makefile.in (srcs): New variable, adding doclicense.texi.
(${buildinfodir}/eintr$(INFO_EXT), emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html):
Use $srcs for dependencies.
2012-12-22 10:51:00 -08:00
Paul Eggert
f99f164170 Hyphen and dash fixes in texinfo files. 2012-12-22 08:25:40 -08:00
Eli Zaretskii
04d9b71ab7 Undocument the details of the string returned by file-acl.
doc/lispref/files.texi (File Attributes, Changing Files): Remove the details
 about the text returned by file-acl.  Instead, just document that
 it is an opaque string meant to be used by set-file-acl.
2012-12-22 16:18:11 +02:00
Eli Zaretskii
f109a67ecb Update doc/misc/makefile.w32-in.
Backport from trunk:

 doc/misc/makefile.w32-in ($(INFO_TARGETS), $(DVI_TARGETS)): Depend on
 doclicense.texi.  Remove doclicense.texi from all targets that
 mentioned it explicitly.
2012-12-22 15:49:49 +02:00
Michael Albinus
cdb0753962 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
properties of remote device.  Restart connection, if there is a
change.
2012-12-22 14:44:06 +01:00
Eli Zaretskii
b2faf49cd9 Support 'fullscreen' frame parameter on MS-Windows.
src/w32term.c (w32fullscreen_hook): New function.
 (w32_create_terminal): Plug it into the terminal's fullscreen_hook.
2012-12-22 15:22:25 +02:00
Martin Rudalics
94900bfe14 Reword doc and doc-string of select-window (Bug#13248).
* window.c (Fselect_window): Reword doc-string.
* windows.texi (Selecting Windows): Reword description of
select-window.
2012-12-22 11:12:52 +01:00
Eli Zaretskii
a170fe53e3 Fix dependencies of erc in doc/misc/makefile.w32-in.
doc/misc/makefile.w32-in: ($(infodir)/erc$(INFO_EXT), erc.dvi): Don't
 depend on gpl.texi.
2012-12-22 11:02:24 +02:00
Eli Zaretskii
c995b26efe Update dependencies in doc/misc/makefile.w32-in.
doc/misc/makefile.w32-in ($(INFO_TARGETS), $(DVI_TARGETS)): Depend on
 doclicense.texi.  Remove doclicense.texi from all targets that
 mentioned it explicitly.
 ($(infodir)/woman$(INFO_EXT), woman.dvi): Depend on
 $(emacsdir)/emacsver.texi.
2012-12-22 10:54:31 +02:00
Takafumi Arakaki
33d359875a Two fixes for the URL library (tiny change).
* url-expand.el (url-default-expander): Don't calculate a default
url port before checking url-type.

* url-http.el (url-http-end-of-document-sentinel): Bind relevant
url-request-* variables around the call to url-http.

Fixes: debbugs:11469 debbugs:12374
2012-12-22 10:59:08 +08:00
Glenn Morris
c545e313b5 Remove time-stamp from woman.texi
* doc/misc/woman.texi (UPDATED, VERSION): Remove in favor of EMACSVER.
Include emacsver.texi.  Nuke hand-written node pointers.
* doc/misc/Makefile.in ($(buildinfodir)/woman$(INFO_EXT), woman.dvi, woman.pdf):
Depend on emacsver.texi.
2012-12-21 15:55:07 -08:00
Glenn Morris
a4b0cca119 Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org 2012-12-21 11:32:43 -08:00
Glenn Morris
160b385201 No need to mention generated files in ChangeLogs
(at least there should be no blank line separating this from the
actual change)
2012-12-21 11:16:15 -08:00
Glenn Morris
d72a27935e * doc/emacs/emacs-xtra.texi (copying): The FSF does not sell copies of this.
Simply include doclicense.
2012-12-21 11:08:32 -08:00
Glenn Morris
0b1af10630 May as well just include doclicense.texi in all doc/misc manuals 2012-12-21 11:01:24 -08:00
Glenn Morris
8ee7002855 Include a copy of GFDL, which @copying says is included 2012-12-21 10:55:16 -08:00
Glenn Morris
6bf430d146 Don't say "buying copies from the FSF" for manuals they do not publish
Ref "License Notices for Documentation" in maintain.info
2012-12-21 10:36:41 -08:00