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

54069 Commits

Author SHA1 Message Date
Daiki Ueno
7f6d634ac2 Style fixes for auth-source.el.
* auth-source.el (auth-source-token-passphrase-callback-function):
Reindent.
(epg-context-operation): Remove unnecessary autoload.
2011-07-03 08:53:45 +09:00
Lars Magne Ingebrigtsen
8a20ca4cb0 Clarify that SETFUNCTION is only used in the Customize user interface
(bug#6089).
2011-07-03 01:52:35 +02:00
Lars Magne Ingebrigtsen
83319045a4 * progmodes/flymake.el (flymake-mode): If the buffer isn't
associated with a file, refuse to run instead of erroring out
(bug#6084).
2011-07-03 00:55:41 +02:00
Lars Magne Ingebrigtsen
a8392169cd * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
the doc string, since it appears that using `fill-column' always
controls the width (bug#7845).
2011-07-02 23:42:49 +02:00
Lars Magne Ingebrigtsen
e83cc1f76a * simple.el (shell-command-on-region): Say where the error output
went if `shell-command-default-error-buffer' is set.

Fixes: debbugs:6857
2011-07-02 22:59:18 +02:00
Ken Manheimer
e47ca23bcf * allout.el (allout-yank-processing): Adjust cursor position for
backwards-deleted space.
2011-07-02 13:39:41 -04:00
Lars Magne Ingebrigtsen
08549772c2 * minibuffer.el (completion-in-region): Document PREDICATE
(bug#7136).
2011-07-02 18:07:30 +02:00
Lars Magne Ingebrigtsen
48e96771eb * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
of keyword/argument pairs (bug#6904).
2011-07-02 16:05:38 +02:00
Lars Magne Ingebrigtsen
5cf5614360 * replace.el (multi-occur): Mention
`multi-occur-in-matching-buffers' in the doc string.

Fixes: debbugs:7566
2011-07-02 15:53:53 +02:00
Lars Magne Ingebrigtsen
e17d05e2ef (dired-mark-if): Make the message about whether it's marking or unmarking clearer (bug#8523) 2011-07-02 15:28:19 +02:00
Gnus developers
67aa99ff06 Merge changes made in Gnus trunk.
nnir.el (nnir-run-imap): Allow halting a search when an article is found by setting `shortcut' in 'query.
 (nnir-request-article): Use `shortcut' setting when requesting article by Message-ID.
gnus-msg.el (gnus-bug): Give the Version and Package headers to debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.  Bring the pseudo-headers back too.
2011-07-02 13:26:49 +00:00
Lars Magne Ingebrigtsen
063b0e45af * disp-table.el (display-table-print-array): New function.
(describe-display-table): Use it to print the vectors more pretty
(Bug#8859).
2011-07-02 14:27:53 +02:00
Martin Rudalics
28545e0497 Remove clone-number support. Provide clone-of parameter in window states.
* window.h (window): Remove clone_number slot.
* window.c (Fwindow_clone_number, Fset_window_clone_number):
Remove.
(make_parent_window, make_window, saved_window)
(Fset_window_configuration, save_window_save): Don't deal with
clone numbers.
* buffer.c (Qclone_number): Remove declaration.
(sort_overlays, overlay_strings): Don't deal with clone numbers.

* window.el (window-state-get-1): Don't assign clone numbers.
Add clone-of item to list of window parameters.
(window-state-put-2): Don't process clone numbers.
(display-buffer-alist): Fix doc-string.
2011-07-02 12:36:48 +02:00
Glenn Morris
a9e2a8db83 Auto-commit of loaddefs files. 2011-07-02 06:23:45 -04:00
Stefan Monnier
3349e122e2 Add multiple inheritance to keymaps.
* src/keymap.c (Fmake_composed_keymap): New function.
(Fset_keymap_parent): Simplify.
(fix_submap_inheritance): Remove.
(access_keymap_1): New function extracted from access_keymap to handle
embedded parents and handle lists of maps.
(access_keymap): Use it.
(Fkeymap_prompt, map_keymap_internal, map_keymap, store_in_keymap)
(Fcopy_keymap): Handle embedded parents.
(Fcommand_remapping, define_as_prefix): Simplify.
(Fkey_binding): Simplify.
(syms_of_keymap): Move minibuffer-local-completion-map,
minibuffer-local-filename-completion-map,
minibuffer-local-must-match-map, and
minibuffer-local-filename-must-match-map to Elisp.
(syms_of_keymap): Defsubr make-composed-keymap.
* src/keyboard.c (menu_bar_items): Use map_keymap_canonical.
(parse_menu_item): Trivial simplification.
* lisp/subr.el (remq): Don't allocate if it's not needed.
(keymap--menu-item-binding, keymap--menu-item-with-binding)
(keymap--merge-bindings): New functions.
(keymap-canonicalize): Use them to refine the canonicalization.
* lisp/minibuffer.el (minibuffer-local-completion-map)
(minibuffer-local-must-match-map): Move initialization from C.
(minibuffer-local-filename-completion-map): Move initialization from C;
don't inherit from anything here.
(minibuffer-local-filename-must-match-map): Make obsolete.
(completing-read-default): Use make-composed-keymap to combine
minibuffer-local-filename-completion-map with either
minibuffer-local-must-match-map or
minibuffer-local-filename-completion-map.
2011-07-02 00:27:41 -04:00
Glenn Morris
3de63bf809 * lisp/type-break.el (type-break-time-sum): Use dolist.
This avoids using a free variable.
2011-07-01 14:21:09 -04:00
Glenn Morris
d224ac8375 Replace runtime CL function, as flagged by the compiler.
* lisp/textmodes/flyspell.el (flyspell-word-search-backward):
Replace CL function.
2011-07-01 14:13:17 -04:00
Stefan Monnier
fe3f64d575 * lisp/mouse.el (mouse--strip-first-event): New function.
(function-key-map): Use it to map fringe clicks to normal clicks by default.
2011-07-01 13:58:14 -04:00
Stefan Monnier
eb604e34e5 * lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
(vc-bzr-revision-completion-table): Add support for annotate and date.
2011-07-01 13:45:31 -04:00
Stefan Monnier
1a1e3f3207 * lisp/emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
inherit from parent.
2011-07-01 12:41:02 -04:00
Daiki Ueno
e9cb4479f5 auth-source.el (auth-source-token-passphrase-callback-function): Simplify and remove EPA dependency. 2011-07-01 14:05:59 +00:00
Lars Magne Ingebrigtsen
26bde865f6 (dired-show-file-type): Doc fixup (bug#8818). 2011-07-01 15:37:00 +02:00
Andrew Cohen
c1dccd2068 nnir.el (nnir-request-article): Fix error message text. 2011-07-01 13:14:59 +00:00
Lars Magne Ingebrigtsen
ace6c69c02 * dired-aux.el (dired-diff): Doc fixup (bug#8816). 2011-07-01 14:48:02 +02:00
Lars Magne Ingebrigtsen
191e2bedb9 * dired.el (dired-mode): Fix up the doc string as suggested by
Drew Adams (bug#8817).
2011-07-01 13:56:36 +02:00
Lars Magne Ingebrigtsen
5bd3590262 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
cookie, since the manual says that it should be possible to add
this function to `find-file-hook'.
2011-07-01 12:33:50 +02:00
Glenn Morris
7c9eeb9455 Auto-commit of loaddefs files. 2011-07-01 06:24:49 -04:00
Ted Zlatanov
0da3f8bcf5 * progmodes/cfengine.el: Minor update to docs. 2011-07-01 05:12:47 -05:00
Ted Zlatanov
eee8207a7e Moved `cfengine3-mode' to cfengine.el. Removed cfengine3.el.
* progmodes/cfengine.el: Moved all cfengine3.el functionality
here.  Noted Ted Zlatanov as the maintainer.
(cfengine-common-settings, cfengine-common-syntax): New functions
to set up common things between `cfengine-mode' and
`cfengine3-mode'.
(cfengine3-mode): New mode.
(cfengine3-defuns cfengine3-defuns-regex
(cfengine3-class-selector-regex cfengine3-category-regex)
(cfengine3-vartypes cfengine3-font-lock-keywords)
(cfengine3-beginning-of-defun, cfengine3-end-of-defun)
(cfengine3-indent-line): Added from cfengine3.el.
2011-07-01 05:09:52 -05:00
Michael Albinus
36b148cf16 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
* net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2011-07-01 11:14:31 +02:00
Daiki Ueno
f3078a0041 Add plstore-delete.
* auth-source.el (plstore-delete): Autoload.
(auth-source-plstore-search): Support delete operation.
* plstore.el (plstore-delete): New function.
2011-07-01 16:35:39 +09:00
Katsumi Yamaoka
85e428791e gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing articles as unread rather than the ones that active asserts. 2011-07-01 07:29:00 +00:00
Glenn Morris
eda98f58e9 Fix license and copyright years. 2011-06-30 23:30:13 -07:00
Martin Rudalics
0bf4ba9aca Comment-out buffer display obsolescences and fix call in display-buffer.
* window.el (same-window-buffer-names, same-window-regexps)
(same-window-p, special-display-frame-alist)
(special-display-popup-frame, special-display-function)
(special-display-buffer-names, special-display-regexps)
(special-display-p, pop-up-frame-alist, pop-up-frame-function)
(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, even-window-heights)
(display-buffer-mark-dedicated, window-splittable-p)
(split-window-sensibly, window-safely-shrinkable-p):
Un-obsolete.
(display-buffer): Don't spread args with function specifier
because special-display-popup-frame won't like it.
2011-07-01 08:24:00 +02:00
Paul Eggert
d0672f86c9 Merge from trunk. 2011-06-30 22:20:09 -07:00
Paul Eggert
b9444d97fe * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
by using time-since and float-time.
2011-06-30 21:52:27 -07:00
Paul Eggert
0ef923dcc3 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
+ NNN microseconds".
2011-06-30 21:44:40 -07:00
Paul Eggert
2f81380d8d * type-break.el (type-break-time-sum): Rewrite using time-add. 2011-06-30 21:36:40 -07:00
Katsumi Yamaoka
fb81de5fb5 gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read. 2011-07-01 04:08:50 +00:00
Stefan Monnier
0e61a35ffd * lisp/window.el (bury-buffer): Don't iconify the only frame.
(switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
2011-06-30 23:48:44 -04:00
Chong Yidong
ddd63a1e1b * eshell/em-smart.el (eshell-smart-display-navigate-list): Add mouse-yank-primary. 2011-06-30 23:38:28 -04:00
Ted Zlatanov
055f492351 * progmodes/cfengine3.el: New file to support CFEngine 3.x. 2011-06-30 22:29:50 -05:00
Stefan Monnier
6a2fb14596 * lisp/emacs-lisp/find-func.el (find-library--load-name): New fun.
(find-library-name): Use it to find relative load names when provided
absolute file name.

Fixes: debbugs:8803
2011-06-30 23:15:02 -04:00
Daiki Ueno
3e0b797f61 Fix commit 2011-07-01T01:34:38Z!ueno@unixuser.org. 2011-07-01 11:07:32 +09:00
Paul Eggert
845b5c3e2a * play/hanoi.el (hanoi-current-time-float): Remove.
All uses replaced by float-time.
2011-06-30 18:55:02 -07:00
Paul Eggert
ee6f1be04b * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
This yields a more-accurate answer.
(rng-time-to-float): Remove; no longer needed.
2011-06-30 18:52:41 -07:00
Paul Eggert
240a298f78 * nntp.el (nntp-record-command): Use format-time-string. 2011-06-30 18:49:43 -07:00
Paul Eggert
b06823b67d * gnus-util.el (gnus-message-with-timestamp-1): Use format-time-string
rather than decoding time stamps by hand.  This is simpler, and
insulates the code from changes to time stamp formats.
2011-06-30 18:46:17 -07:00
Daiki Ueno
cdf4d4551d Add public key encryption support to plstore.
* plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
(plstore-save): Support public key encryption.
(plstore--init-from-buffer): New function.
(plstore-open): Use it; fix error when opening a non-existent file.
(plstore-revert): Use plstore--init-from-buffer.
2011-07-01 10:34:38 +09:00
Paul Eggert
3be70dff37 * lisp/erc/erc.el: Fix comment. 2011-06-30 18:29:04 -07:00
Paul Eggert
fe955043aa * emacs-lisp/timer.el (timer-relative-time): Use time-add. 2011-06-30 18:27:40 -07:00
Daiki Ueno
65afde5c65 * auth-source.el (auth-source-backend): Fix :initarg for data slot. 2011-07-01 10:25:21 +09:00
Paul Eggert
3103f8b658 * emacs-lisp/elp.el (elp-elapsed-time): Use float-time. 2011-06-30 17:30:18 -07:00
Paul Eggert
e2bac5f625 * emacs-lisp/benchmark.el (benchmark-elapse): Use float-time. 2011-06-30 17:27:45 -07:00
Paul Eggert
98768aebbe * semantic.el (semantic-elapsed-time): Rewrite using
time-subtract and float-time.
2011-06-30 17:24:48 -07:00
Paul Eggert
5777162a3e * calendar/timeclock.el (timeclock-seconds-to-time):
Defalias to seconds-to-time, since they're the same thing.
2011-06-30 17:20:59 -07:00
Paul Eggert
35837f519e * allout-widgets.el (allout-elapsed-time-seconds): Use float-time. 2011-06-30 17:11:50 -07:00
Katsumi Yamaoka
34d0a92369 mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen. 2011-06-30 23:27:10 +00:00
Lars Magne Ingebrigtsen
887d14add7 textmodes/flyspell.el (flyspell-word): Consider words that differ only
in case as potential doublons (bug#5687).
2011-07-01 01:19:45 +02:00
Lars Magne Ingebrigtsen
c53dc7fca1 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
Remove two rather uninteresting debugging-like messages to make
debbugs.el more silent.
2011-07-01 01:15:02 +02:00
Lars Magne Ingebrigtsen
fd4983f28a * comint.el (comint-password-prompt-regexp): Accept "Response" as
a password-like phrase.

This fixes the

[larsi@quimbies ~/]$ ssh root@quimby
Password: 
Response: 

case.
2011-07-01 01:11:36 +02:00
Gnus developers
b09c3fe025 gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional quit window configuration.
auth-source.el (epg-context-set-passphrase-callback): Remove duplicate autoload.
nnir.el (nnir-request-article): Allow requesting articles by Message-ID with nnimap.
gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use current server.
auth-source.el: Autoload EPA/EPG functions.
 (auth-source-netrc-use-gpg-tokens): Clarify that it should not be changed when EPA/EPG is not available.
 (auth-source-backend): Rename "arg" member to "data".
 (auth-source-backend-parse, auth-source-plstore-search)
 (auth-source-plstore-create): Use it.
2011-06-30 22:20:32 +00:00
Daiki Ueno
9ccd6e90d6 Prevent Gnus from loading PGG.
* mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
is not fully working.
2011-07-01 05:54:35 +09:00
Alan Mackenzie
b14c0c5545 progmodes/cc-guess.el: New file.
progmodes/cc-langs.el (c-mode-menu): Added "Style..." submenu.
progmodes/cc-styles.el (cc-choose-style-for-mode): New function derived
from `c-basic-common-init'.
progmodes/cc-mode.el (top-level): Require cc-guess.
(c-basic-common-init): Use `cc-choose-style-for-mode'.
2011-06-30 20:45:12 +00:00
Lawrence Mitchell
1fa280a3de * lisp/progmodes/js.el (js-mode): Don't stomp on global settings.
Fixes: debbugs:8933
2011-06-30 12:22:33 -04:00
Alan Mackenzie
e6597158c0 progmodes/cc-engine.el (c-guess-continued-construct): Correct the
handling of template-args-cont, particularly for when font lock is
disabled.  Name this case as "CASE G".
2011-06-30 15:12:59 +00:00
Ken Manheimer
68ba37fbd9 * allout.el (allout-yank-processing): Fix injection of extra space between
bullet and non-whitespace character in first topic when pasting, ensuring
that the actual spacing in the pasted topic following the bullet char is
preserved.  This extra space was causing pasted encrypted topics to get a
decrypted status even when the content was actually still encrypted.  Now
the decryption status from before the paste is preserved.

(allout-flag-region): Set all allout overlays so they evaporate when
reduced to zero length (evanescent), to prevent overlay leakage.
2011-06-30 10:38:35 -04:00
Gnus developers
936d08bba7 Merge changes made in Gnus trunk.
gnus-art.el (gnus-request-article-this-buffer): Use existing function `gnus-refer-article-methods'.
auth-source.el: Require EPA and EPG.
 (auth-source-passphrase-alist): New variable.
 (auth-source-passphrase-callback-function, auth-source-token-passphrase-callback-function): Callbacks for the netrc field encryption (GPG tokens).
 (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token): Symmetric encryption and decryption of the netrc GPG tokens.
 (auth-source-netrc-normalize): Use them, simplifying the closure.
2011-06-30 14:25:27 +00:00
Lars Magne Ingebrigtsen
656e1aab13 nnimap.el (nnimap-split-incoming-mail): If nnimap-split-fancy' is non-nil, and nnimap-split-methods' is nil, use the former. 2011-06-30 10:04:56 +00:00
Daiki Ueno
f11f303b27 Fix the last commit, do revert-buffer when plstore-revert. 2011-06-30 18:53:21 +09:00
Daiki Ueno
8a8cdb1992 Add plstore-revert, hide buffer from user.
* plstore.el (plstore-revert): New function.
(plstore-open): Use it; hide the buffer from user.
2011-06-30 18:45:44 +09:00
Daiki Ueno
c302199d28 Silence auth-source.el compilation. 2011-06-30 17:20:33 +09:00
Daiki Ueno
8977de2724 Add new auth-source backend 'plstore.
* auth-source.el (auth-source-backend): New member "arg".
(auth-source-backend-parse): Handle new backend 'plstore.
* plstore.el: New file.
2011-06-30 16:27:25 +09:00
Lars Magne Ingebrigtsen
d0b36cbeb1 nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to. 2011-06-30 04:07:50 +00:00
Glenn Morris
94b9acce13 * lisp/w32-fns.el (w32-charset-info-alist): Declare. 2011-06-29 20:13:35 -07:00
Glenn Morris
1d9b46d4cc * lisp/find-dired.el (find-grep-options): Simplify. 2011-06-29 20:03:07 -07:00
Glenn Morris
5cdea619b2 * lisp/gnus/gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix. 2011-06-29 20:01:09 -07:00
Glenn Morris
eeea84f413 Add bug ref to ChangeLog. 2011-06-29 19:58:08 -07:00
Glenn Morris
cc232200f7 * lisp/term/ns-win.el (ns-set-resource): Declare. 2011-06-29 19:54:16 -07:00
Glenn Morris
ddf6fd30db * lisp/gnus/mm-util.el (mm-charset-synonym-alist): Move definition before use. 2011-06-29 19:53:07 -07:00
Glenn Morris
28e77c4682 * lisp/ses.el (row, col): Declare dynamic variables honestly. 2011-06-29 19:51:27 -07:00
Glenn Morris
887a0b3446 Silence reftex-parse compilation.
* lisp/textmodes/reftex-parse.el (index-tags): Declare.
Nuke trailing whitespace.
2011-06-29 19:50:20 -07:00
Lars Magne Ingebrigtsen
d61bdd5d04 (thing-at-point-short-url-regexp): Require that short URLs have at least one dot in them (bug #7614). 2011-06-30 04:04:32 +02:00
Lars Magne Ingebrigtsen
faf3b348f4 mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458). 2011-06-30 01:44:14 +00:00
Chong Yidong
658d8eb8fc Avoid calling customize-save-variable during startup (Bug#8720).
* lisp/cus-edit.el (customize-push-and-save): New function.

* lisp/files.el (hack-local-variables-confirm): Use it.

* lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
customize-push-and-save (Bug#8720).
(custom-enabled-themes): Doc fix.

* lisp/cus-theme.el (customize-create-theme)
(custom-theme-merge-theme): Callers to load-theme changed.
2011-06-29 21:39:52 -04:00
Katsumi Yamaoka
732b9594ce nnmh.el (nnmh-request-list-1): Work on MS Windows. 2011-06-30 01:27:16 +00:00
Lars Magne Ingebrigtsen
bb6177177b (rgrep): Bind `process-connection-type' to nil, because using a pty is apparently too slow (bug #895). 2011-06-30 03:09:13 +02:00
Lars Magne Ingebrigtsen
3451795ca1 Merge changes made in Gnus trunk.
message.el (message-point-in-header-p): Tweak the function to default to saying that we're not in the headers if there is no separator at all.  This makes it possible to use the Message version of `M-q' in buffers with no headers (bug#7987).
 (message-point-in-header-p): Fix last checkin to work with an empty mail-header-separator, too.
auth-source.el (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.
message.el (message-send-mail-function): Add `sendmail-query-once'.
nnimap.el (nnimap-finish-retrieve-group-infos): If the server has ended the connection, bail out before waiting infinitely on a new connection.
2011-06-30 01:02:47 +00:00
Lars Magne Ingebrigtsen
2f31f37ab7 Add the new `sendmail-query-once' function to sendmail.el. 2011-06-29 22:21:29 +02:00
Glenn Morris
faf2a1741d * lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode. 2011-06-29 14:38:39 -04:00
Glenn Morris
3076b24ebb Silence ses.el compilation.
* lisp/ses.el (top-level): Require cl when compiling.
(ses-set-localvars): Fix error statement.
Call it at compile time to silence a storm of warnings.
2011-06-29 14:37:31 -04:00
Martin Rudalics
5386012dfd Rename more functions to use window-/window-- prefixes.
* window.c (resize_root_window, grow_mini_window)
(shrink_mini_window): Rename Qresize_root_window to
Qwindow_resize_root_window and Qresize_root_window_vertically to
Qwindow_resize_root_window_vertically.

* window.el (normalize-live-buffer): Rename to
window-normalize-buffer.
(normalize-live-frame): Rename to window-normalize-frame.
(normalize-any-window): Rename to window-normalize-any-window.
(normalize-live-window): Rename to window-normalize-live-window.
(make-window-atom): Rename to window-make-atom.
(window-resize-reset): Rename to window--resize-reset.
(window-resize-reset-1): Rename to window--resize-reset-1.
(resize-mini-window): Rename to window--resize-mini-window.
(resize-subwindows-skip-p): Rename to
window--resize-subwindows-skip-p.
(resize-subwindows-normal): Rename to
window--resize-subwindows-normal.
(resize-subwindows): Rename to window--resize-subwindows.
(resize-other-windows): Rename to window--resize-siblings.
(resize-this-window): Rename to window--resize-this-window.
(resize-root-window): Rename to window--resize-root-window.
(resize-root-window-vertically): Rename to
window--resize-root-window-vertically.
(normalize-buffer-to-display): Rename to
window-normalize-buffer-to-display.
(normalize-buffer-to-switch-to): Rename to
window-normalize-buffer-to-switch-to.
Correspondingly update all callers of the functions listed
above.
(display-buffer-alist, display-buffer-normalize-arguments)
(display-buffer-normalize-options, display-buffer)
(display-buffer-alist-set): Use "function" instead of
"fun-with-args".
2011-06-29 14:06:08 +02:00
Teodor Zlatanov
8b7fba43dd Merge changes made in Gnus trunk.
gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug reports.
gnus.el (gnus-bug-package): Use "gnus."
 (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
2011-06-28 22:18:09 +00:00
Chong Yidong
1176868d0a Tweaks to the report-emacs-bug preamble.
* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
debbugs.gnu.org.  Mention acknowledgment email.
2011-06-28 14:10:11 -04:00
Lars Magne Ingebrigtsen
20a7a65f9a (smtpmail-send-it): Leave off changing the buffer multibyteness, since it shouldn't matter. 2011-06-28 17:30:45 +02:00
Martin Rudalics
5f45cca553 Some more fixes of buffer display functions.
* window.el (display-buffer-in-side-window): Handle dedicated
windows as in display-buffer-reuse-window.
(display-buffer-normalize-alist): Use value of override
specifier.
(display-buffer-normalize-specifiers): Use value of
other-window-means-other-frame specifier.
(display-buffer-alist): Rewrite some texts in widgets.
(display-buffer): Spread arguments when calling function
specified by fun-with-args.
2011-06-28 14:28:40 +02:00
Deniz Dogan
da68c4c88c * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Unnest `let'. 2011-06-28 14:09:43 +02:00
Deniz Dogan
ec49bd31ea * textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'. 2011-06-28 13:37:05 +02:00
Deniz Dogan
ad85fe1f1b * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.
Fixes: debbugs:5732
2011-06-28 13:23:01 +02:00
Glenn Morris
3b6c4a75cf Mark tiny change. 2011-06-27 18:09:47 -07:00
Jari Aalto
a08cc025e5 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
(eshell-ls-date-format): New defcustom.
(eshell-ls-file): Use it.
2011-06-27 17:47:39 -04:00
Stefan Monnier
e2b551c50e * lisp/help-fns.el (describe-variable): Fix message for terminal-local vars. 2011-06-27 17:39:03 -04:00
Chong Yidong
a1d3a912e7 * lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653). 2011-06-27 17:38:14 -04:00
Katsumi Yamaoka
8982b23153 * lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
(ange-ftp-make-tmp-name): New arg.
(ange-ftp-file-local-copy): Use it.
2011-06-27 17:30:37 -04:00
Chong Yidong
88d3fb1146 Merge fix for Bug#8870 from trunk 2011-06-27 17:16:28 -04:00
Chong Yidong
430959a68a Remove incorrect ChangeLog entry from last commit. 2011-06-27 17:15:35 -04:00
Jambunathan K
36c9fa271d Coding system fix for tar-untar-buffer (Bug#8870).
* lisp/tar-mode.el (tar-untar-buffer): Set coding-system-for-write
to no-conversion.
2011-06-27 17:12:17 -04:00
Martin Rudalics
d615d6d288 Use window- prefix more consistently. Fix two buffer display bugs.
* window.c (resize_window_check): Rename to window_resize_check.
(resize_window_apply): Rename to window_resize_apply.
(Fresize_window_apply): Rename to Fwindow_resize_apply.
(Fdelete_other_windows_internal, resize_frame_windows)
(Fsplit_window_internal, Fdelete_window_internal)
(grow_mini_window, shrink_mini_window)
(Fresize_mini_window_internal): Fix callers accordingly.

* window.el (resize-window-reset): Rename to window-resize-reset.
(resize-window-reset-1): Rename to window-resize-reset-1.
(resize-window): Rename to window-resize.
(window-min-height, window-min-width)
(resize-mini-window, resize-this-window, resize-root-window)
(resize-root-window-vertically, adjust-window-trailing-edge)
(enlarge-window, shrink-window, maximize-window)
(minimize-window, delete-window, quit-restore-window)
(split-window, balance-windows, balance-windows-area-adjust)
(balance-windows-area, window-state-put-2)
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, set-window-text-height)
(fit-window-to-buffer): Rename all "resize-window" prefixed
calls to use the "window-resize" prefix convention.
(display-buffer-alist): Fix symbol for label specifier.
(display-buffer-reuse-window): Set reuse-dedicated to cdr of
corresponding specifier.
Reported by Juanma Barranquero <lekktu@gmail.com>.
2011-06-27 20:32:56 +02:00
Martin Rudalics
d68443dcee Use better names for window-next/-prev and window-vchild/-hchild.
* window.c (Fwindow_vchild): Rename to Fwindow_top_child.
(Fwindow_hchild): Rename to Fwindow_left_child.
(Fwindow_next): Rename to Fwindow_next_sibling.
(Fwindow_prev): Rename to Fwindow_prev_sibling.

* window.el (window-right, window-left, window-child)
(window-child-count, window-last-child)
(window-iso-combination-p, walk-window-tree-1)
(window-atom-check-1, window-tree-1, delete-window)
(window-state-get-1, display-buffer-even-window-sizes): Adapt to
new naming conventions - window-vchild, window-hchild,
window-next and window-prev are now called window-top-child,
window-left-child, window-next-sibling and window-prev-sibling
respectively.
2011-06-27 16:05:55 +02:00
Glenn Morris
4a834b86ce Auto-commit of loaddefs files. 2011-06-27 06:23:19 -04:00
Vincent Belaïche
b64585261b (ses-destroy-cell-variable-range): Fix heading comment convention.
(ses-call-printer): Does not pass an empty string to formatter when the cell is empty to keep from barking printer Calc math-format-value.
2011-06-27 10:14:10 +02:00
Richard M. Stallman
43d5bf84cf Implement battery-mode-line-limit option. 2011-06-27 04:04:55 -04:00
Richard M. Stallman
d31fd9acf0 rmailmm: Handle truncated messages. 2011-06-27 04:01:30 -04:00
Glenn Morris
819a6054c7 flymake.el fix for bug#8866.
* lisp/progmodes/flymake.el (flymake-err-line-patterns):
Allow for column numbers in the ant/javac pattern.
2011-06-27 00:23:27 -07:00
Vincent Belaïche
cedc73f2fd (ses-relocate-range): Keep rest of arguments for ses-range.
(ses--clean-!, ses--clean-_): New functions.
(ses-range): Add configurability of readout order, and conversion to Calc vector.
2011-06-27 08:18:45 +02:00
Vincent Belaïche
5e5d49b6d4 (ses-repair-cell-reference-all): New function.
(ses-cell-symbol): Set macro as safe, so that it can be used in
formulas.
2011-06-27 08:11:36 +02:00
Vincent Belaïche
90ca8b4908 Update cycle detection algorithm.
(ses-localvars): Add ses--Dijkstra-attempt-nb and
ses--Dijkstra-weight-bound, and initial values thereof when
applicable.
(ses-set-localvars): New function.
(ses-make-cell): Add property-list as a cell element.
(ses-cell-property-get-fun, ses-cell-property-get)
(ses-cell-property-delq-fun, ses-cell-property-set-fun)
(ses-cell-property-pop-fun, ses-cell-property-get-handle-fun): New
functions.
(ses-cell-property-set, ses-cell-property-pop)
(ses-cell-property-get-handle): New macro.
(ses-cell-property-handle-car, ses-cell-property-handle-setcar):
New aliases, used for code readability.
(ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
cycle detection.
(ses-self-reference-early-detection): New defcustom.
(ses-formula-references): Robustify against self-refering cells.
(ses-mode): Use ses-set-localvars.
(ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
before lauching the update processing.
(ses-initialize-Dijkstra-attempt): New function.
(ses-recalculate-cell): Update for cycle detection based on
Dijkstra algorithm.
2011-06-27 08:02:27 +02:00
Vincent Belaïche
2bb63e814f Fix commenting and indenting convention. 2011-06-27 07:41:58 +02:00
Stefan Monnier
c9d29fb8b5 * lisp/bs.el (bs-cycle-next): Complete last change. 2011-06-26 21:52:37 -04:00
Juanma Barranquero
d8e4b68b08 Fix typos in lisp/ChangeLog. 2011-06-27 02:37:54 +02:00
Drew Adams
7c823eab82 lisp/faces.el (list-faces-display): Add help-mode-map to output.
Fixes: debbugs:8939
2011-06-27 02:29:55 +02:00
Lars Magne Ingebrigtsen
f6ab314e6e Fix stupid typo with gnutls-clii.
Don't re-get capabilities unless we're reconnecting.
2011-06-27 02:11:22 +02:00
Lars Magne Ingebrigtsen
40098786b5 Bind coding-system-for-* to binary to possibly avoid line encoding
issues on Windows (among other things).
2011-06-27 02:02:15 +02:00
Lars Magne Ingebrigtsen
c146ad8505 Merge changes made in Gnus trunk.
gnus-art.el (gnus-article-stop-animations): New function to stop any animations going on at article exit time.
gnus-registry.el (gnus-registry-user-format-function-M): Reinstate, since removing it breaks people upgrading.
shr.el (shr-put-image): Use the new interface for animating images.
 (shr-put-image): Animate for 60 seconds.
2011-06-26 22:21:48 +00:00
Lars Magne Ingebrigtsen
468d09d44e If the SMTP server supports STARTTLS, but Emacs has no built-in or
external STARTTLS support, then report this in a sensible fashion to
the user.
2011-06-26 23:05:06 +02:00
Chong Yidong
88821ca052 Add global-hl-line-sticky-flag (Bug#8323).
* lisp/hl-line.el (hl-line-sticky-flag): Doc fix.
(global-hl-line-sticky-flag): New option.
(global-hl-line-highlight): Obey it.
2011-06-26 16:25:53 -04:00
Chong Yidong
16f07dd791 * lisp/vc/vc.el (vc-revert-show-diff): Default to t. 2011-06-26 15:34:17 -04:00
Glenn Morris
247f696e50 ChangeLog fix. 2011-06-26 11:10:51 -07:00
Ken Manheimer
6b5ccddf1c * allout-widgets.el (allout-widgets-post-command-business): Stop decorating
intermediate isearch matches.  They're not being undecorated when an
isearch is continued past, and isearch automatically collapses them.  This
leads to "widget leaks", where decorated items accumulate in collapsed
areas.  Lines with lots of hidden widgets can slow down cursor travel,
substantially.  Too much complicated machinery would be needed to ensure
undecoration, so we're doing without this nicety.

(allout-widgets-tally-string): Don't try to do a hash-table-count of
allout-widgets-tally when it's nil.  This eliminates spurious "Error during
redisplay: (wrong-type-argument hash-table-p nil)" warnings in *Messages*
when allout-widgets-maintain-tally is t.
2011-06-26 12:47:39 -04:00
Martin Rudalics
355f2e0708 Fix some more display-buffer related bugs.
* window.el (display-buffer-normalize-argument): Rename to
display-buffer-normalize-arguments.  Handle special meaning of
LABEL argument.  Respect special-display-function when popping
up a new frame.  Fix code searching for a window showing the
buffer on another frame.
(display-buffer-normalize-specifiers): Call
display-buffer-normalize-arguments.
(display-buffer-in-window): Don't undedicate the window if its
buffer remains the same.
Reported by Drew Adams <drew.adams@oracle.com>.
(display-buffer-alist): Add choice for same-window macro
specfier.
(display-buffer): Mention special meaning of LABEL argument in
doc-string.  Fix quoting.  Don't pop up a new frame even as
fallback.
2011-06-26 18:17:30 +02:00
Gnus developers
60a0884e78 Merge changes made in Gnus trunk.
gnus.texi (Summary Mail Commands): Document `gnus-summary-reply-to-list-with-original'.
auth-source.el (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.
 (with-auth-source-epa-overrides): Ugly hack to Wrap the `find-file-hook' things in `symbol-value' to avoid compilation warnings on all architectures.
spam.el (spam-stat): Require in a normal fashion without binding `spam-stat-install-hooks' to avoid compilation warnings.
spam-stat.el (spam-stat-install-hooks): Removed.
 (spam-stat-install-hooks): Don't run automatically.
gnus-msg.el (gnus-summary-reply-to-list-with-original): New command and keystroke.
2011-06-26 12:41:14 +00:00
Juanma Barranquero
7ca8fc42ba lisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.
Fixes: debbugs:8911
2011-06-26 13:23:23 +02:00
Andreas Schwab
bc3122541b * lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
(Bug#8934)
2011-06-26 10:43:52 +02:00
Lars Magne Ingebrigtsen
2db18f3ffa Use built-in TLS support if `gnutls-available-p' is true. 2011-06-26 10:13:07 +02:00
Leo Liu
6302e0d3ce Extend emacs register to accept value from registerv-make
A value object returned by `registerv-make' has slots to control
jump-to-register, describe-register-1 and insert-register.
2011-06-26 14:37:04 +08:00
Chong Yidong
2afef60a03 New option for showing a diff in vc-revert (Bug#8927).
* vc/vc.el (vc-revert-show-diff): New defcustom.
(vc-diff-internal): New arg specifying diff buffer.
(vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
reuse an existing *vc-diff* buffer.
2011-06-26 00:05:39 -04:00
Chong Yidong
5fdd4046b9 * lisp/progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode. 2011-06-25 23:42:22 -04:00
Glenn Morris
ee584d02dd * lisp/progmodes/f90.el (f90-looking-at-critical): Doc fix. 2011-06-25 18:37:36 -07:00
Glenn Morris
e93db24a10 Add support for block and critical blocks to f90.el.
* lisp/progmodes/f90.el (f90-critical-indent): New option.
(f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
(f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
(f90-mode): Doc fix.
(f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
(f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
(f90-beginning-of-block, f90-next-block, f90-indent-region)
(f90-match-end): Handle block, critical.
2011-06-25 18:22:45 -07:00
Glenn Morris
d4f259f785 Add some co-array stuff to f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
(f90-procedures-re, f90-constants-re): Add some co-array stuff.
2011-06-25 17:23:44 -07:00
Glenn Morris
ccf7a5d5c8 Add some more F2008 font-locking for f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
Add some F2008 stuff.
2011-06-25 17:01:36 -07:00
Glenn Morris
e9246b20af * lisp/calendar/diary-lib.el: Comment fix. 2011-06-25 15:33:29 -07:00
Glenn Morris
f6ba4cc9d8 Avoid some code duplication in diary-lib.el.
* lisp/calendar/diary-lib.el (diary-included-files): Doc fix.
(diary-include-files): New function, extracted from
diary-include-other-diary-files and diary-mark-included-diary-files.
(diary-include-other-diary-files, diary-mark-included-diary-files):
Just call diary-include-files.
(diary-mark-entries): Reset diary-included-files on first call.
2011-06-25 15:22:47 -07:00
Glenn Morris
1671230453 When marking, visit included diary-files in temp buffers.
Ref: bug#8920, but not a bug.

* lisp/calendar/diary-lib.el (diary-mark-entries)
(diary-mark-included-diary-files):
Visit included diary-files in temp buffers.
2011-06-25 15:10:21 -07:00
Glenn Morris
1a5db1f412 * lisp/progmodes/f90.el (f90-procedures-re): Add F2008 "is_contiguous". 2011-06-25 14:28:24 -07:00
Glenn Morris
5d8e0d43b0 Add submodule support to f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
(f90-blocks-re, f90-program-block-re, f90-end-block-re)
(f90-start-block-re, f90-imenu-generic-expression)
(f90-looking-at-program-block-start, f90-no-block-limit):
Add support for submodules.
2011-06-25 14:21:45 -07:00
Glenn Morris
eefff499d7 Add missing ChangeLog for previous commit. 2011-06-25 13:51:40 -07:00
Glenn Morris
898265597c Add some F2008 keywords to f90.el font-locking.
* lisp/progmodes/f90.el (f90-keywords-re, f90-procedures-re)
(f90-constants-re): Add some F2008 stuff.
2011-06-25 13:49:56 -07:00
Glenn Morris
11fdef7d0c Merge from emacs-23; up to 2010-06-15T03:34:12Z!rgm@gnu.org. 2011-06-25 11:21:00 -07:00
Juanma Barranquero
74f5369749 Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.
* allout.el (allout-unload-function): Pass -1 to `allout-mode'.

* proced.el (proced-unload-function):
* progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.

* ses.el (ses-unload-function):
* emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2011-06-25 20:08:41 +02:00
Andreas Rottmann
18a4ce5ea1 Allow emacsclient to set parameters of new graphical frames (bug#5864)
* lib-src/emacsclient.c (longopts, decode_options, main): Add frame-parameters.

* lisp/server.el (server-create-window-system-frame): Add parameters arg.
(server-process-filter): Doc fix.  Handle frame-parameters.

* doc/emacs/misc.texi (emacsclient Options): Mention --frame-parameters.
* doc/man/emacsclient.1: Mention --frame-parameters.

* etc/NEWS: Mention this.
2011-06-25 11:05:48 -07:00
Juanma Barranquero
519d22cc0e * loadhist.el (unload--set-major-mode): New function.
(unload-feature): Use it.

* progmodes/python.el (python-after-info-look): Add autoload cookie.
  (python-unload-function): New function.

Fixes: debbugs:8781 debbugs:8730
2011-06-25 19:42:18 +02:00
Stefan Monnier
c206f5b0f7 * lisp/mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p. 2011-06-25 09:38:32 -04:00
Giuseppe Scrivano
f9ad64f3c1 Add icecat to the firefox candidates list. 2011-06-25 11:31:24 +02:00
Juanma Barranquero
7d0da90e7b lisp/progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable. 2011-06-24 14:13:35 +02:00
Katsumi Yamaoka
74e8193b79 auth-source.el (auth-source-netrc-cache): Move forward. 2011-06-23 23:17:26 +00:00
Richard M. Stallman
14b4e83d62 Going to grep hit in Rmail buffer finds the message. 2011-06-23 13:08:15 -04:00
Richard M. Stallman
8050daa1d0 Work with changes in mail-bury. 2011-06-23 13:03:59 -04:00
Stefan Monnier
273d2baf9b * lisp/emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
messages for adjacent non-terminals.
2011-06-23 12:55:59 -04:00
Richard M. Stallman
f444564c73 Marking message as "seen" should not mark buffer as changed. 2011-06-23 12:38:40 -04:00
Richard M. Stallman
56c2cc9a95 Don't reuse previous Message-id when resending. 2011-06-23 12:33:05 -04:00
Michael Albinus
d59eb51849 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
SIZE is a number.
2011-06-23 15:03:04 +02:00
Martin Rudalics
02cfc6d6fc Fix display-buffer related bugs reported by Thierry Volpiatto.
* window.el (get-lru-window, get-mru-window)
(get-largest-window): Never return a minibuffer window.
(display-buffer-pop-up-window): Fix a bug that could lead to
reusing the minibuffer window.
(display-buffer): Pass original specifier argument to
display-buffer-function instead of the normalized one.
Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2011-06-23 10:58:45 +02:00
Leo Liu
4e3232657c Move completing-read-function and completing-read-default to elisp 2011-06-23 11:35:05 +08:00
Lars Magne Ingebrigtsen
5c62d13346 Fix typo in last check-in. 2011-06-23 02:18:46 +02:00
Lars Magne Ingebrigtsen
c4db078bfd Clean up the ssl/tls support to be able to use the built-in support, too. 2011-06-23 02:17:41 +02:00
Lars Magne Ingebrigtsen
b534ed407e nnimap.el (nnimap-open-connection-1): Fix indentation. 2011-06-23 00:00:38 +00:00
Richard M. Stallman
50718fc219 Make mail exit more nicely when Rmail is in use. 2011-06-22 19:39:29 -04:00
Richard M. Stallman
7a70468fb1 Fix bug: Rmail f copied the entire Rmail file into *mail*. 2011-06-22 19:35:21 -04:00
Roland Winkler
297dde5a97 lisp/textmodes/bibtex.el: minor cleanup and bug fixes 2011-06-22 15:59:48 -05:00
Lars Magne Ingebrigtsen
97bb109368 (smtpmail-try-auth-methods): If the user has stored a user name, then
query for the password first, instead of waiting for SMTP to give an
error message and the trying again.
2011-06-22 21:24:51 +02:00
Jan Djärv
1c0f1a199c From Lawrence Mitchell <wence@gmx.li>: Don't hang in browse-url-xdg-open.
* net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
  BUFFER in call-process.
2011-06-22 18:44:53 +02:00
Lars Magne Ingebrigtsen
ddb7ffeeb8 When the .authinfo file has a user name but not a password, prompt
for the password.
2011-06-22 16:48:31 +02:00
Martin Rudalics
130e3e1121 Normalize SIDE argument of split-window (Bug#8916).
* window.el (split-window): Normalize SIDE argument (Bug#8916).
2011-06-22 11:23:31 +02:00
Lars Magne Ingebrigtsen
396f7c9d28 (smtpmail-via-smtp): Make sure we don't send QUIT twice. 2011-06-22 11:13:50 +02:00
Martin Rudalics
8998d1b3e8 Remove preset entries for pop-up-frame-alist from window.el defaults.
* window.el (display-buffer-default-specifiers)
(display-buffer-alist): Remove entries for pop-up-frame-alist.
Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.

* frame.el (pop-up-frame-alist, pop-up-frame-function)
(special-display-frame-alist, special-display-popup-frame):
Remove duplicate declarations.  These are now in window.el.
2011-06-22 09:12:18 +02:00
Lars Magne Ingebrigtsen
6af7a7844e Set :use-starttls-if-possible so that we always use STARTTLS if the server supports it.
SMTP servers that support STARTTLS commonly require it.
2011-06-22 00:55:52 +02:00
Lars Magne Ingebrigtsen
7d36ad4669 (smtpmail-via-smtp): Check for servers saying they want AUTH after MAIL FROM, too. 2011-06-22 00:33:44 +02:00
Andrew Cohen
183a6951a6 nnimap.el (nnimap-find-article-by-message-id): return nil when no article found. 2011-06-21 22:13:24 +00:00
Lars Magne Ingebrigtsen
95f41d9ad1 Rewritten smtpmail.el to use `open-network-stream' to do STARTTLS
upgrades opportunistically, and to only use auth-source for all
credentials.  Mostly backwards compatible, but
`smtpmail-auth-credentials' and `smtpmail-starttls-credentials' are
removed, and users who relied on those will have to put the
credentials in ~/.authinfo instead.
2011-06-21 23:10:52 +02:00
Lars Magne Ingebrigtsen
eb8c936238 (network-stream-certificate): Change cert-cert to cert and cert-key to key. 2011-06-21 23:00:45 +02:00
Lars Magne Ingebrigtsen
6a6e4d9309 Prefer the ~/.authinfo file over the ~/.authinfo.gpg file, especially when saving. 2011-06-21 22:51:45 +02:00
Lars Magne Ingebrigtsen
4ea31e074d Add support for client certificates for built-in and external STARTTLS. 2011-06-21 22:39:08 +02:00
Michael Albinus
065ec2c78b * net/tramp-cache.el (top): Don't load the persistency file when
"emacs -Q" has been called.
2011-06-21 21:51:26 +02:00
David Reitter
cd93b35930 ns-win: set ApplePressAndHoldEnabled to NO as it is unsupported.
This is in preparation for OS X "Lion"; it is a stop-gap solution
until this new input mechanism is supported correctly.
2011-06-21 11:45:36 -07:00
Martin Rudalics
9e9de01439 Don't make popup frames unsplittable by default.
(display-buffer-alist, display-buffer-default-specifiers): Don't
make new frame unsplittable by default.
(display-buffer-normalize-argument): Fix doc-string typo and use
'same-frame-other-window instead of 'other-window when associating
with display-buffer-macro-specifiers.
2011-06-21 17:16:32 +02:00
Juanma Barranquero
ae9c04116a lisp/misc.el (list-dynamic-libraries): Fix computation of header fields. 2011-06-21 12:04:28 +02:00
Leo Liu
7f3f739fa4 New primitive secure-hash supporting md5, sha-1 and sha-2 2011-06-21 16:55:22 +08:00
Martin Rudalics
bd168c0651 Fix last fix of display-buffer-normalize-options. 2011-06-21 10:51:30 +02:00
Martin Rudalics
327c8fb10a Handle old buffer display options more faithfully.
* window.el (display-buffer-alist): In default value do not
enforce searching a window on any but the selected frame.
Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
(display-buffer-select-window): Remove function.
(display-buffer-in-window): When a window on another frame gets
reused, do not select it any more but just raise its frame if
necessary (Bug#8851) and (Bug#8856).
(display-buffer-normalize-options): Handle pop-up-frames related
options more faithfully.
(pop-to-buffer): Don't rely on `display-buffer' selecting the
window if it is on another frame.
2011-06-21 10:29:43 +02:00
Vincent Belaïche
7cf3f55609 * lisp/play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right): New funs.
(5x5-mode-map, 5x5-mode-menu): Bind them.
(5x5-draw-grid): Tweak the solver's rendering.
2011-06-20 23:16:02 -04:00
Stefan Monnier
60a406cf16 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
`caml' to `python-tracebacks-and-caml'; allow leading tabs.

Fixes: debbugs:8585
2011-06-20 22:10:10 -04:00
Drew Adams
5d907d6cf0 * lisp/menu-bar.el: Use function variable instead of switch-to-buffer.
(menu-bar-select-buffer-function): New variable.
(menu-bar-update-buffers): Use it.
2011-06-20 21:49:36 -04:00
Stefan Monnier
478d6f95ff * lisp/emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
variable's status.
2011-06-20 21:43:56 -04:00
Jan Djärv
ca5307394f * x-dnd.el (x-dnd-version-from-flags)
(x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
and long as number.
(x-dnd-handle-xdnd): Call functions above.

Fixes: debbugs:8899
2011-06-20 22:49:12 +02:00
Stefan Monnier
4cb3bfa09c * lisp/minibuffer.el (completion-metadata): Prepend the alist with `metadata'.
(completion-try-completion, completion-all-completions): Compute the
metadata argument if it's missing; make it optional.

Fixes: debbugs:8795
2011-06-20 16:16:20 -04:00
Stefan Monnier
bcd70d976f Use completion-at-point rather than completion-in-region.
* lisp/wid-edit.el: Use lexical scoping and move towards completion-at-point.
(widget-complete): Use new :completion-function property.
(widget-completions-at-point): New function.
(default): Use :completion-function instead of :complete.
(widget-default-completions): Rename from widget-default-complete, rewrite.
(widget-string-complete, widget-file-complete, widget-color-complete):
Remove functions.
(file, symbol, function, variable, coding-system, color):
* lisp/international/mule-cmds.el (default-input-method, charset)
(language-info-custom-alist):
* lisp/cus-edit.el (face): Use new property :completions.

* lisp/progmodes/pascal.el (pascal-completions-at-point): New function.
(pascal-mode): Use it.
(pascal-mode-map): Use completion-at-point.
(pascal-toggle-completions): Make obsolete.
(pascal-complete-word, pascal-show-completions):
* lisp/progmodes/octave-mod.el (octave-complete-symbol):
Redefine as obsolete alias.
* lisp/progmodes/octave-inf.el (inferior-octave-completion-at-point):
Signal absence of completion info for old Octave,
(inferior-octave-complete): Redefine as obsolete alias.
* lisp/progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
(meta-completions-at-point): Rename from meta-complete-symbol and
adapt it for use on completion-at-point-functions.
(meta-common-mode): Use it.
(meta-looking-at-backward, meta-match-buffer): Remove.
(meta-complete-symbol): Redefine as obsolete alias.
(meta-common-mode-map): Use completion-at-point.
* lisp/progmodes/make-mode.el: Use lexical-binding and completion-at-point.
(makefile-mode-map): Use completion-at-point.
(makefile-completions-at-point): Rename from makefile-complete and
adapt it for use on completion-at-point-functions.
(makefile-mode): Use it.
(makefile-complete): Redefine as obsolete alias.
2011-06-20 12:02:31 -04:00
Deniz Dogan
aebf69c8b3 * lisp/net/rcirc.el: Delete trailing whitespaces once and for all. 2011-06-20 14:55:24 +02:00
Martin Rudalics
4c43d97b5c Restore old behavior of get-window-with-predicate and get-buffer-window-list.
* window.el (get-window-with-predicate): Start scanning with
window following selected window to restore Emacs 23 behavior.
Clarify doc-string.
(get-buffer-window-list): Start scanning with selected window to
restore Emacs 23 behavior.  Clarify doc-string.
2011-06-20 10:41:57 +02:00
Daniel Colascione
bfbbb27d92 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. 2011-06-19 20:36:16 -07:00
Chong Yidong
208530377b * frame.el (special-display-popup-frame): Doc fix (Bug#8853). 2011-06-19 15:05:15 -04:00
Chong Yidong
56f9dcc930 Fix last change. 2011-06-19 14:59:58 -04:00
Chong Yidong
4ca009e5a8 * lisp/files.el (auto-mode-alist): Entry for m2-mode (Bug#8852). 2011-06-19 14:53:49 -04:00
Chong Yidong
6a8230feb3 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833). 2011-06-19 14:42:23 -04:00
Chong Yidong
d264a46ba2 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833). 2011-06-19 14:42:06 -04:00
Glenn Morris
affa9d2b30 Auto-commit of loaddefs files. 2011-06-19 14:39:24 -04:00
Martin Rudalics
9a028c23fb Regroup clauses in display-buffer-normalize-options (Bug#8851) and (Bug#8856).
* window.el (display-buffer-normalize-options): Move special-display-p
group after pop-up-frame group (Bug#8851) and (Bug#8856).
2011-06-19 16:32:12 +02:00
Martin Rudalics
9d89fec745 Provide functions for saving window configurations as Lisp objects.
* window.el (window-list-no-nils, window-state-ignored-parameters)
(window-state-get-1, window-state-get, window-state-put-list)
(window-state-put-1, window-state-put-2, window-state-put): New
functions.
2011-06-19 12:17:56 +02:00
Martin Rudalics
fbf5b3ce9d Sanitize processing of display specifiers; new option frame-auto-delete.
* window.el (display-buffer-other-window-means-other-frame):
Call display-buffer-normalize-alist.
(display-buffer-normalize-specifiers-1): Rename to
display-buffer-normalize-argument.  New argument other-frame.
Rewrite.
(display-buffer-normalize-specifiers-2): Rename to
display-buffer-normalize-options.
(display-buffer-normalize-alist-1): New function.
(display-buffer-normalize-specifiers-3): Rename to
display-buffer-normalize-alist.  Call
display-buffer-normalize-alist-1.
(display-buffer-normalize-options-inhibit): New variable.
(display-buffer-normalize-specifiers): Rewrite calling
display-buffer-normalize-alist,
display-buffer-normalize-argument, and
display-buffer-normalize-options.  Don't call the latter if
display-buffer-normalize-options-inhibit is non-nil.
(frame-auto-delete): New option.
(window-deletable-p): Use frame-auto-delete.
2011-06-19 11:59:58 +02:00
Teodor Zlatanov
61e6a0aceb auth-source.el (auth-source-netrc-use-gpg-tokens): Replace `auth-source-save-secrets' with a more sensitive alist that can be configured per file. Experimental, so defaults to 'never.
(auth-source-netrc-create): Use it.  Still experimental code.
 (with-auth-source-epa-overrides): Use `find-file-hooks' if `find-file-hook' is unbound (XEmacs fix).  Fix backquoting bug.
2011-06-18 22:23:55 +00:00
Chong Yidong
6420d28b9a Add rx.el support for numbered groups (Bug#8776).
* lisp/emacs-lisp/rx.el (rx-constituents): Add support for numbered groups.
(rx-submatch-n): New function.
(rx): Document it.
2011-06-18 17:12:33 -04:00
Chong Yidong
ddb8b596be * dired-x.el (dired-mark-unmarked-files): Fix interactive spec (Bug#8768). 2011-06-18 16:17:30 -04:00
Chong Yidong
c9e799dbb1 Merge fix for Bug#8879 from trunk 2011-06-18 15:23:43 -04:00
Chong Yidong
770802895c * lisp/textmodes/fill.el (default-justification): Add :safe (Bug#8879). 2011-06-18 15:21:16 -04:00
Chong Yidong
61dfb316ec Fix for disable-theme/defface interaction (Bug#8889).
* lisp/cus-face.el (custom-declare-face): Call custom-theme-recalc face
anytime existing face settings are present.
2011-06-18 14:49:19 -04:00
Chong Yidong
6d10d800bd Use define-derived-mode in delphi-mode.
* lisp/progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
(delphi-mode): Use define-derived-mode to inherit from prog-mode.
Remove unused argument.
2011-06-18 12:23:11 -04:00
Martin Rudalics
28dec25a9f One more fix for display-buffer-normalize-specifiers-1.
* window.el (display-buffer-normalize-specifiers-1): Fix thinko.
2011-06-18 17:14:35 +02:00
Martin Rudalics
be3fb2b875 Additional fixes in handling of buffer display specifiers.
* window.el (display-buffer-default-specifiers): Remove
pop-up-frame.  Add pop-up-window-min-height,
pop-up-window-min-width, and another reuse-window specifier
(Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
(display-buffer-normalize-specifiers-2): Handle
split-height-threshold and split-width-threshold also when
pop-up-windows is unset.  Add a reuse-window specifier for the
case popping up a new window fails.
(special-display-popup-frame): Remove double quoting.
2011-06-18 16:23:14 +02:00
Stefan Monnier
1c6d8c761f * lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.
(pcomplete-suffix-list): Mark as obsolete.
(pcomplete-completions-at-point): Capture pcomplete-norm-func and
pcomplete-seen in the closure.
(pcomplete-comint-setup): Setup completion-at-point as well.
(pcomplete--entries): New function.
(pcomplete--env-regexp): New var.
(pcomplete-entries): Rewrite to work with partial-completion and
without relying on pcomplete-suffix-list.
(pcomplete-pare-list): Remove, unused.
* lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string
according to comint-completion-addsuffix.
2011-06-17 14:52:46 -04:00
Martin Rudalics
9be74fbbb9 Update doc-string of display-buffer-alist. 2011-06-17 18:07:55 +02:00
Martin Rudalics
25aef8b85b Rewrite display-buffer-alist and display-buffer-normalize-specifiers.
* window.el (display-buffer-alist): Set pop-up-window-min-height
and pop-up-window-min-width in default value.  Reported by
Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
other-window-means-other-frame.
(display-buffer-macro-specifiers): Comment out entry for
other-window specifier.
(display-buffer-other-window-means-other-frame): New function.
(display-buffer-normalize-specifiers-1): New arguments
buffer-name and label.  Treat other-window case specially.
(display-buffer-normalize-specifiers-2): Treat other-window case
specially.
(display-buffer-normalize-specifiers-3): New function.
(display-buffer-normalize-specifiers): Call
display-buffer-normalize-specifiers-3.
2011-06-17 16:50:11 +02:00
Martin Rudalics
d1067961b1 Fix handling of old `display-buffer' options (bug#8851) (bug#8856).
* window.el (display-buffer-normalize-specifiers-1): Don't
check pop-up-frames for 'unset initialization.
(display-buffer-normalize-specifiers-2): Major rewrite using
special-display-p and same-window-p (Bug#8851) and (Bug#8856).
(pop-up-frames, display-buffer-reuse-frames)
(display-buffer-mark-dedicated): Don't initialize to 'unset.
Suggested by David Engster <deng@randomsample.de>.
(even-window-heights): Initialize to 'unset.
(display-buffer-alist-set): Handle new 'unset initializations.
2011-06-17 10:45:37 +02:00
Martin Rudalics
dbad4f694d Fix two typos in same-window-p.
* window.el (same-window-p): Fix two typos introduced when
adding with-no-warnings.
2011-06-17 08:04:44 +02:00
Martin Rudalics
67222e1dff Have enlarge-/shrink-window not report errors in most cases (bug#8862).
* window.el (enlarge-window, shrink-window): Don't report an error
when the window can't be resized as requested (Bug#8862).
2011-06-16 16:01:46 +02:00
Martin Rudalics
9c2755e9b4 Never ever pop up a new frame in noninteractive mode (bug#8857).
(display-buffer): Don't check noninteractive when calling
display-buffer-pop-up-frame.
(display-buffer-pop-up-frame): Never pop up a frame in
noninteractive mode (Bug#8857).
2011-06-16 11:21:56 +02:00
Martin Rudalics
981d5c0932 Fix doc-strings of switch-to-buffer family functions (bug#8875).
(switch-to-buffer-same-frame, switch-to-buffer-other-window)
(switch-to-buffer-other-window-same-frame)
(switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
Adams (Bug#8875).
2011-06-16 10:55:08 +02:00
Martin Rudalics
9b9c9e3acb Improve cohabitation of pop-up-frames and second argument of display-buffer (bug#8865).
* window.el (display-buffer-normalize-specifiers-1): Respect
current value of pop-up-frames for most reasonable values of
second argument of display-buffer (Bug#8865).
2011-06-16 09:31:51 +02:00
Teodor Zlatanov
2b8c5660b7 Merge changes made in Gnus trunk.
auth-source.el (auth-source-save-secrets): New variable to control if secret tokens should be saved encrypted.
 (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name to `auth-source-netrc-normalize'.
 (with-auth-source-epa-overrides): Add convenience macro.  Don't depend on the EPA variables being defined.
 (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
 (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in the lexical-let closure.
 (auth-source-netrc-create): Create "gpg:" tokens according to `auth-source-save-secrets'.
2011-06-16 06:18:18 +00:00
Lars Magne Ingebrigtsen
4bba86e621 (open-network-stream): Add the keyword :always-query-capabilities.
This is for the case where you want to force a `plain' network
connection, but the protocol still requires the capabilitiy command
(i.e., SMTP and EHLO).
2011-06-15 22:44:45 +02:00
Stefan Monnier
9ffdd3baa7 * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification. 2011-06-15 14:40:00 -04:00
Stefan Monnier
cb581a672b * lisp/emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger. 2011-06-15 14:39:04 -04:00
Stefan Monnier
0ac306045f * src/eval.c (Fdefvaralias): Also mark the target as variable-special-p. 2011-06-15 14:36:00 -04:00
Stefan Monnier
2b75be6704 * lisp/abbrev.el (define-abbrev-table): Don't add a table multiple times. 2011-06-15 14:33:33 -04:00
Alan Mackenzie
8c0e35891e progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking for
declarators, disable knr checking to speed up for normal files.  2:
Refactor, replacing a sequence of nested if forms by a cond form.
2011-06-15 18:24:25 +00:00
Lars Magne Ingebrigtsen
b96e6cde3e Renamed process-alive-p' to process-live-p' for consistency with other `-live-p' functions. 2011-06-15 19:30:41 +02:00
Stefan Monnier
efdcdbf823 Don't encourage the use of display-buffer-alist from Elisp code.
* lisp/window.el (same-window-buffer-names, same-window-regexps)
(special-display-frame-alist, special-display-popup-frame)
(special-display-function, special-display-buffer-names)
(special-display-regexps, pop-up-frame-alist)
(pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
(pop-up-windows, split-window-preferred-function)
(split-height-threshold, split-width-threshold, even-window-heights)
(display-buffer-mark-dedicated): Fix obsolescence info.
2011-06-15 13:20:36 -04:00
Dan Nicolaescu
50328a1b27 * lisp/progmodes/cfengine.el (cfengine-mode): Derive from prog-mode. 2011-06-15 07:47:57 -07:00
Dan Nicolaescu
c5cde04220 Derive some programming modes from prog-mode.
* lisp/progmodes/python.el (python-mode): Derive from prog-mode.
* lisp/progmodes/ps-mode.el (ps-mode):
* lisp/progmodes/mixal-mode.el (mixal-mode):
* lisp/progmodes/ld-script.el (ld-script-mode): Likewise.
2011-06-15 07:07:48 -07:00
Martin Rudalics
baa1c9abaa Don't let display-buffer pop up new frames by default (bug#8857).
* window.el (display-buffer-alist): Trim default value to avoid
popping up a new frame (Bug#8857) or reusing an arbitrary window
on another frame.
(display-buffer): Do not fall back on popping up a new frame in
batch mode (Bug#8857).
2011-06-15 09:09:47 +02:00
Chong Yidong
c5dd5a516c Print theme summaries in *Custom Themes* buffer.
* lisp/cus-theme.el (describe-theme-1): Use custom-theme-p.
(custom-theme-summary): New function.
(customize-themes): Use it.

* etc/themes/light-blue-theme.el:
* etc/themes/misterioso-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tsdh-dark-theme.el:
* etc/themes/tsdh-light-theme.el:
* etc/themes/wheatgrass-theme.el:
* etc/themes/wombat-theme.el: Tweak summaries for better listability.
2011-06-14 01:06:26 -04:00
Glenn Morris
d647b7c44e cus-dep fix for build failure first occurring with 2011-06-13T08:21:09Z!rudalics@gmx.at
The symptom was `make custom-dep' failing with "Unknown terminal type".
This is caused by `display-buffer' trying to pop-up a frame in batch mode.
I think this cus-dep change may be just papering over the immediate
manifestation of the underlying problem.

* lisp/cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2011-06-13 17:42:40 -04:00
Martin Rudalics
357f93d245 Make help and view-mode work with new buffer display facilities.
* help.el (help-window): Remove variable.
(help-window-point-marker, temp-buffer-max-height)
(temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
(help-print-return-message): Don't set help-window.
(resize-temp-buffer-window): Rewrite cod eand doc-string.
(help-window-setup-finish): Remove.
(help-window-display-message, help-window-setup)
(with-help-window): Major rewrite based on new
display-buffer-window variable.

* help-mode.el (help-mode-finish): Remove help-window related
code.

* view.el (view-exits-all-viewing-windows): Remove reference to
view-return-to-alist in doc-string.
(view-return-to-alist): Make obsolete.
(view-buffer): Call pop-to-buffer-same-window and remove
undo-window code.
(view-buffer-other-window): Call pop-to-buffer-other-window and
simplify code.  Ignore second argument.
(view-buffer-other-frame): Call pop-to-buffer-other-frame and
simplify code.  Ignore second argument.
(view-return-to-alist-update): Make obsolete.
(view-mode-enter): Rename second argument to QUIT-RESTORE.
Rewrite using quit-restore window parameters.
(view-mode-exit): Rename second argument to EXIT-ONLY.  Rewrite
using quit-restore-window.
(View-exit, View-exit-and-edit, View-leave, View-quit)
(View-quit-all, View-kill-and-leave): Call view-mode-exit with
appropriate arguments.
(view-end-message): Use quit-restore window parameter.
2011-06-13 15:14:42 +02:00
Martin Rudalics
9481c00201 Install new buffer display functions and variables.
* window.el (display-buffer-function): Rewrite doc-string.
(display-buffer-window, display-buffer-alist): New variables.
(display-buffer-split-specifiers)
(display-buffer-side-specifiers)
(display-buffer-macro-specifiers): New constants.
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, display-buffer-select-window)
(display-buffer-in-window, display-buffer-reuse-window)
(display-buffer-split-window-1, display-buffer-split-window)
(display-buffer-split-atom-window, display-buffer-pop-up-window)
(display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
(display-buffer-in-side-window, normalize-buffer-to-display)
(display-buffer-normalize-specifiers-1)
(display-buffer-normalize-specifiers-2)
(display-buffer-normalize-specifiers, display-buffer-frame): New
functions.
(display-buffer): Major rewrite.
(display-buffer-other-window, display-buffer-other-frame)
(pop-to-buffer, switch-to-buffer-other-window)
(switch-to-buffer-other-frame): Rewrite.
(display-buffer-same-window, display-buffer-same-frame)
(display-buffer-same-frame-other-window)
(pop-to-buffer-same-window, pop-to-buffer-same-frame)
(pop-to-buffer-other-window)
(pop-to-buffer-same-frame-other-window)
(pop-to-buffer-other-frame, switch-to-buffer-same-frame)
(switch-to-buffer-other-window-same-frame): New functions.
(same-window-p, special-display-p): Rewrite disabling warnings.
Make obsolete.
(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
(display-buffer-mark-dedicated): Initialize to symbol 'unset.
Make obsolete
(same-window-buffer-names, same-window-regexps)
(special-display-frame-alist, special-display-popup-frame)
(special-display-function, special-display-buffer-names)
(special-display-regexps, pop-up-frame-alist)
(pop-up-frame-function, split-window-preferred-function)
(split-height-threshold, split-width-threshold)
(even-window-heights): Make obsolete.
2011-06-13 10:21:09 +02:00
Glenn Morris
873e858a93 * term/xterm.el (terminal-init-xterm): Still more simplifications. 2011-06-12 13:18:04 -07:00
Glenn Morris
422e69f6b6 * term/xterm.el (terminal-init-xterm): More simplifications. 2011-06-12 13:15:02 -07:00
Glenn Morris
7cb363eba0 * term/xterm.el (terminal-init-xterm): Misc simplifications. 2011-06-12 12:58:32 -07:00
Glenn Morris
9db51acaf1 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838) 2011-06-12 12:56:41 -07:00
Martin Rudalics
39cffb4422 Restore window-safely-shrinkable-p but avoid using it in calendar.el.
* window.el (window-safely-shrinkable-p): Restore function which
was inadvertently removed in change from 2011-06-11.  Declare as
obsolete.

* calendar/calendar.el (calendar-generate-window): Use
window-iso-combined-p instead of combination of one-window-p and
window-safely-shrinkable-p.
2011-06-12 09:46:56 +02:00
Glenn Morris
a8955be718 Give % punctuation syntax in fortran modes (bug#8820)
* lisp/progmodes/fortran.el (fortran-mode-syntax-table):
* lisp/progmodes/f90.el (f90-mode-syntax-table):
Set % to punctuation.
(f90-find-tag-default): Remove, no longer needed.
2011-06-11 17:57:24 -07:00
Daniel Colascione
f0d4059d8c * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid. 2011-06-11 17:27:14 -07:00