1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-17 17:58:46 +00:00
Commit Graph

101682 Commits

Author SHA1 Message Date
Paul Eggert
2287ac9896 Merge from gnulib. 2011-07-08 03:02:24 -07:00
Paul Eggert
4a621aae14 * lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib. 2011-07-08 03:00:52 -07:00
Paul Eggert
1692ae2dd5 Merge from trunk. 2011-07-08 02:38:32 -07:00
Jan Djärv
a63e078125 * nsgui.h: Fix compiler warning about gnulib redefining verify. 2011-07-08 10:42:58 +02:00
Jan Djärv
699c10bd69 Fix services menu empty on OSX 1.6+.
* nsfns.m (Fx_open_connection): Remove NSStringPboardType from
ns_return_types.
(Fns_list_services): Just return Qnil on 10.6, code not working there.

* nsmenu.m (ns_update_menubar): Remove useless setDelegate call
on svcsMenu.

* nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).

* nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
(ns_get_local_selection): Declare.

* nsterm.m (QUTF8_STRING): Declare.
(initFrameFromEmacs): Call registerServicesMenuSendTypes.
(validRequestorForSendType): Return type is (id).
Change indexOfObjectIdenticalTo to indexOfObject.
Check if we have local selection before returning self (Bug#8842).
(writeSelectionToPasteboard): Put local selection into paste board
if we have a local selection (Bug#8842).
(syms_of_nsterm): DEFSYM QUTF8_STRING.
2011-07-08 10:11:35 +02:00
Lars Magne Ingebrigtsen
d760b73104 Allow sending mail in "emacs -Q" by not calling customize-save-variable
* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.
2011-07-08 09:42:21 +02:00
Daiki Ueno
47588180c9 Revert the plstore editing feature. 2011-07-08 10:29:29 +09:00
Juri Linkov
cd79ce90d9 * lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
(archive-zip-update-case): Use 7z if found by `executable-find'.
The order of searching the available programs is the same as in
`archive-zip-extract'.

Fixes: debbugs:8968
2011-07-08 03:08:53 +03:00
Lars Magne Ingebrigtsen
72aba33f59 Merge changes made in Gnus trunk.
gnus-msg.el (gnus-bug): Don't insert user variables.  It usually isn't very interesting any more, and it leaks potentially secret data.
 (gnus-debug): Removed.
gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working use of :custom-show.
2011-07-07 23:18:23 +00:00
Chong Yidong
14cc04aa16 Tweak last change to menu descriptions.
* lisp/menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
(menu-bar-options-menu): Tweak descriptions.
2011-07-07 18:41:09 -04:00
Lars Magne Ingebrigtsen
0a1848ec12 Make all the Options menu items into verb phrases
* menu-bar.el (menu-bar-line-wrapping-menu): Also refill to fit under
80 columns.

Fixes: debbugs:1421
2011-07-07 23:43:38 +02:00
Tassilo Horn
095f79fce7 2011-07-07 Tassilo Horn <tassilo@member.fsf.org>
* themes/tsdh-light-theme.el:
	* themes/tsdh-dark-theme.el: Make `gnus-button' face inherit from
	`button', `gnus-header-name' boxed, and define `rcirc-my-nick'
	face.
2011-07-07 22:42:30 +02:00
Lars Magne Ingebrigtsen
d94d85e91e * text.texi (Special Properties): Clarify the format of `face'
Fixes: debbugs:1375
2011-07-07 22:37:54 +02:00
Chong Yidong
538e85c639 Document some Info functions (Bug#1084).
* lisp/info.el (info, Info-read-node-name-2, Info-read-node-name-1)
(Info-read-node-name): Doc fix.
2011-07-07 16:35:28 -04:00
Chong Yidong
f5bd068933 Doc fixes for thingatpt.el.
* lisp/thingatpt.el (forward-thing, bounds-of-thing-at-point)
(thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
(end-of-sexp, beginning-of-sexp)
(thing-at-point-bounds-of-list-at-point, forward-whitespace)
(forward-symbol, forward-same-syntax, word-at-point)
(sentence-at-point): Doc fix (Bug#1144).
2011-07-07 14:31:57 -04:00
Lars Magne Ingebrigtsen
f3f8e37fa7 (Info-mode-map): Remove S-TAB binding, since [backtab] should cover it
Fixes: debbugs:1281
2011-07-07 20:28:25 +02:00
Lars Magne Ingebrigtsen
9888ff71e3 (describe_map_tree): Don't insert a double newline at the end of the string
Return whether we inserted something.  This should allow the caller to
decide whether to insert more newlines or not.

Fixes: debbugs:1169
2011-07-07 19:19:10 +02:00
Lars Magne Ingebrigtsen
54e1018443 Clarify the `call-interactively' doc string, and add an example. 2011-07-07 18:59:26 +02:00
Lars Magne Ingebrigtsen
ac6531adff Remove mention of `require' in ediff.texi
That's not pertinent in the installed Emacs.

Fixes: debbugs:9016
2011-07-07 18:38:27 +02:00
Chong Yidong
412f24b9dd Merge from emacs-23 branch 2011-07-07 12:18:25 -04:00
Lars Magne Ingebrigtsen
af0905c84a Note that :custom-show is obsolete.
Fixes: debbugs:75
2011-07-07 17:59:00 +02:00
Eli Zaretskii
a8815b00dc Fix bug #9015 with a bogus crash with glyphless characters on a TTY.
src/term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.
2011-07-07 18:39:23 +03:00
Lars Magne Ingebrigtsen
12b9eb3527 Work around gnutls failures
* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.

Fixes: debbugs:9017
2011-07-07 17:14:17 +02:00
Andreas Schwab
5e94cadb8a * configure.in (maintainer-mode): Reflect default in help string. 2011-07-07 17:07:54 +02:00
Lars Magne Ingebrigtsen
56ec5115e6 Update doc string of `smtpmail-stream-type'.
* mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
be used.
2011-07-07 16:54:12 +02:00
Juanma Barranquero
a5b436dff5 admin/unidata/makefile.w32-in: Duplicate change in Makefile.in (2011-07-06T22:43:48Z!handa@m17n.org). 2011-07-07 15:55:12 +02:00
Lars Magne Ingebrigtsen
6870aaefd4 Mention the `send-mail-function' default change. 2011-07-07 13:59:05 +02:00
Lars Magne Ingebrigtsen
e2430e3119 * NEWS: Clarify `smtpmail-auth-credentials' non-existence. 2011-07-07 13:18:17 +02:00
Richard M. Stallman
c2f9aec8b4 Fix bugs finding grep hits in Rmail buffers. 2011-07-07 06:35:43 -04:00
Glenn Morris
fd44db7f9a Auto-commit of generated files. 2011-07-07 06:19:23 -04:00
Daiki Ueno
3556c249d8 Add a major mode to edit plstore files.
* plstore.el: Add documentation.
(plstore-mode): New mode to edit plstore file.
(plstore-mode-toggle-display, plstore-mode-original)
(plstore-mode-decoded): New command.
(plstore--encode, plstore--decode, plstore--write-contents-functions)
(plstore--insert-buffer, plstore--make): New function.
(plstore-open, plstore-save): Simplify by using them.
2011-07-07 18:20:37 +09:00
Kenichi Handa
15fa4783a3 Ignore a static composition that starts before the current checking position in redisplay. 2011-07-07 16:11:54 +09:00
Kenichi Handa
ef7b981ddd merge trunk 2011-07-07 13:20:12 +09:00
Kenichi Handa
023e7b416b chartab.c (sub_char_table_set_range): Fix previous change. 2011-07-07 13:16:52 +09:00
Dan Nicolaescu
76b397fb2a Simplify Irix build, remove iris4d.h file.
* configure.in: Remove reference to iris4d.h.

* src/m/iris4d.h: Remove file, move contents ...
* src/s/irix6-5.h: ... here.
2011-07-06 20:24:33 -07:00
Chong Yidong
9970bcb27c Tweak to `button' face in custom themes.
* etc/themes/dichromacy-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/wheatgrass-theme.el: Don't define button face separately;
it inherits from link now.
2011-07-06 21:48:14 -04:00
Chong Yidong
e14b388ad4 Error in next-buffer or previous-buffer if called from minibuffer.
* lisp/window.el (next-buffer, previous-buffer): Signal an error if
called from a minibuffer window.

* lisp/bindings.el: Revert 2011-07-04 change.
2011-07-06 21:46:59 -04:00
Paul Eggert
8a6ebd580b Add Bug#. 2011-07-06 16:29:03 -07:00
Kenichi Handa
d2a0a50628 merge trunk 2011-07-07 08:28:00 +09:00
Kenichi Handa
c805dec0b5 Add C interface for Unicode character property table. 2011-07-07 07:43:48 +09:00
Richard M. Stallman
354cf0ba0b Rmail mime: Use markers for positions in entities. 2011-07-06 18:43:46 -04:00
Katsumi Yamaoka
a821a23b32 lisp/gnus/ChangeLog (2011-07-04): Add missing entry. 2011-07-06 22:39:47 +00:00
Paul Eggert
8a5c77bba5 Remove more assumptions re struct layout (Bug#8884). 2011-07-06 15:22:32 -07:00
Paul Eggert
437dd18bf1 Merge: Remove unportable assumption about struct layout (Bug#8884).
* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.
2011-07-06 14:56:44 -07:00
Paul Eggert
22b4128ef0 Remove unportable assumption about struct layout (Bug#8884).
* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.
2011-07-06 14:53:56 -07:00
Lars Magne Ingebrigtsen
4906cd3d17 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility. 2011-07-06 23:34:13 +02:00
Lars Magne Ingebrigtsen
e0457abee8 * simple.el (shell-command-on-region): Fill. 2011-07-06 21:44:09 +02:00
Lars Magne Ingebrigtsen
413c488ddb * functions.texi (Calling Functions): Link to the "Interactive
Call" node.

Fixes: debbugs:1001
2011-07-06 20:34:55 +02:00
Lars Magne Ingebrigtsen
d67f7e1fbf * dired-aux.el (dired-kill-line): Add a doc string.
Fixes: debbugs:957
2011-07-06 20:26:29 +02:00
Paul Eggert
123403e42f Use pthread_sigmask, not sigprocmask.
* callproc.c (Fcall_process):
* sysdep.c (sys_sigblock, sys_sigunblock, sys_sigsetmask):
* process.c (create_process):
sigprocmask is portable only for single-threaded applications, and
Emacs can be multi-threaded when it uses GTK.
2011-07-06 11:04:23 -07:00