1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

109378 commits

Author SHA1 Message Date
Jürgen Hötzel
bd8c13f9fa * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
coloring, if possible (required for BusyBox based systems like
CynagenMod).
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-insert-directory)
(tramp-adb-handle-file-name-all-completions): Use it.
(tramp-adb-get-toolbox): New defun.  Check for remote shell
implementation (BusyBox or Toolbox).
2012-12-26 17:22:18 +01:00
Dmitry Antipov
8855dfa5d5 * print.c (print_object): Fix last change. 2012-12-26 19:46:51 +04:00
Dmitry Antipov
6cda572a0f * print.c (print_object): If Lisp_Save_Value object's pointer
is the address of a memory area containing Lisp_Objects, try
to print them.
* alloc.c (valid_lisp_object_p): Adjust comment.
2012-12-26 19:40:19 +04:00
Dmitry Antipov
8847a0de5b * lisp.h (toplevel): Add two notices to the comment about
defining a new Lisp data type.
2012-12-26 18:10:11 +04:00
Lars Ingebrigtsen
2e05152022 Merge changes made in Gnus master
gnus-util.el (gnus-goto-colon): Move to the beginning of the visual
  lines.  This makes summary commands with hidden threads work more
  reliably.
gnus-cite.el (gnus-article-hide-citation-maybe): Leave an expansion
  button to mark the hidden citations (bug#9395).
2012-12-26 13:58:54 +00:00
Glenn Morris
ad33cb00f5 Auto-commit of generated files. 2012-12-26 06:17:38 -05:00
Dmitry Antipov
4b298d5a3e * keyboard.c (record_asynch_buffer_change): Initialize an event
only if it's really needed.
* frame.h (enum output_method): Remove output_mac member since
it's a leftover from the deleted code.
* frame.c (Fframep): Adjust user here ...
* terminal.c (Fterminal_live_p): ... and here.
* coding.c (Qmac): Now here because it's only used to denote
end-of-line encoding type.
(syms_of_coding): DEFSYM it.
* frame.h (Qmac): Remove duplicated declaration.
2012-12-26 13:40:45 +04:00
Paul Eggert
a8e1690bbd Revert static checking of stack smashing.
* configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
configured with --enable-gcc-warnings.  -Wstack-protector causes
diagnostics to be issued on Ubuntu 12.10 x86-64.
2012-12-25 21:41:42 -08:00
Daiki Ueno
f1c9aabc18 Move photo ID display code from epg.el to gnus/mml2015.el.
2012-12-26  Daiki Ueno  <ueno@gnu.org>
* mml2015.el (mml2015-epg-signature-to-string): New function.
(mml2015-epg-verify-result-to-string): New function.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-verify)
(mml2015-epg-clear-verify): Use mml2015-epg-verify-result-to-string
instead of epg-verify-result-to-string.
(epg-signature-key-id, epg-signature-to-string): Autoload.
(epg-verify-result-to-string): Remove autoload.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): New function, to retrieve photo
ID image from GPG public key.
(mml2015-epg-key-image-to-string): New function.
2012-12-26 13:20:21 +09:00
Paul Eggert
12384b01a9 * window.c (select_window_1): Now static. 2012-12-25 18:45:43 -08:00
Katsumi Yamaoka
7073eb6178 lisp/gnus/ChangeLog: Fix wrongly adjusted dates 2012-12-25 23:38:16 +00:00
Adam Sjøgren
23dab7dca6 Display images from gpg signatures
* epg.el (epg-signature-to-string): Use new functions
epg-key-image, epg-key-image-to-string to find and display image
from key.
2012-12-25 23:49:35 +01:00
Leo Liu
ecfb998c17 lisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
error when plstore-cache-passphrase-for-symmetric-encryption is set
  (bug#13264).
2012-12-25 22:23:10 +00:00
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