Paul Eggert
7f59d9c856
Merge from gnulib.
2011-09-03 16:08:32 -07:00
Paul Eggert
b49e353d9d
Merge from trunk.
2011-09-03 16:03:38 -07:00
Lars Magne Ingebrigtsen
bc32008719
nnimap.el (nnimap-open-connection-1): Use the correct port number in the error message.
2011-09-03 22:51:26 +00:00
Lars Magne Ingebrigtsen
0f2f6b6d00
* Require libxml/parser.h to avoid compilation warning.
2011-09-04 00:20:00 +02:00
Lars Magne Ingebrigtsen
fcb901a77a
Fix up xmlCleanupParser sequence.
...
* xml.c (parse_region): Don't call xmlCleanupParser after parsing,
since this reportedly can destroy thread storage.
* emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown.
2011-09-03 23:59:25 +02:00
Chong Yidong
2784c43403
Make sendmail-query-once update send-mail-function directly.
...
* mail/sendmail.el (sendmail-query-once-function): Deleted.
(sendmail-query-once): Save directly to send-mail-function.
Update message-send-mail-function too.
* mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2011-09-03 16:24:12 -04:00
Christoph Scholtes
464cdf568e
* progmodes/python.el (python-mode-map): Use correct function to
...
start python interpreter from menu-bar (as reported by Geert
Kloosterman).
(inferior-python-mode-map): Fix typo.
(python-shell-map): Removed.
2011-09-03 12:44:37 -06:00
Deniz Dogan
d37e5c8777
* lisp/net/rcirc.el (rcirc-print): Simplify code for rcirc-scroll-show-maximum-output. There is no need to walk through all windows to find the right one.
2011-09-03 19:40:08 +02:00
Christoph Scholtes
f3ada0eeb5
* help.el (help-return-method): Doc fix.
2011-09-03 11:16:57 -06:00
Martin Rudalics
1f3c99ca9f
Don't delete frame when there's a previous buffer to show (Bug#9419).
...
* window.el (window-deletable-p): Don't return a non-nil value
when there's a buffer that was shown in the window before.
(Bug#9419)
(display-buffer-pop-up-frame, display-buffer-pop-up-window): Set
window's previous buffers to nil.
2011-09-03 12:55:37 +02:00
Eli Zaretskii
a3cf097fd0
Fix display by Rmail of bidirectional text in MIME email messages.
...
lisp/mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
newline before and after the tag line, so it doesn't interfere
with determining the paragraph direction of bidirectional text.
2011-09-03 11:44:16 +03:00
Leo Liu
3d03de90fb
Remove unused variable find-file-not-true-dirname-list
...
See http://debbugs.gnu.org/9422 .
2011-09-03 09:41:27 +08:00
Eli Zaretskii
9af32a1a25
lisp/gnus/message.el (message-setup-1): Return t (Bug#9392).
2011-09-02 20:57:45 +03:00
Chong Yidong
c33134511b
Remove pop-to-buffer-same-window.
...
* lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
(pop-to-buffer): Change interactive spec. Pass second argument
directly to display-buffer.
(display-buffer): Fix interactive spec. Use functionp to
distinguish between a function and a list of functions.
* lisp/abbrev.el (edit-abbrevs):
* lisp/arc-mode.el (archive-extract):
* lisp/autoinsert.el (auto-insert):
* lisp/bookmark.el (bookmark-bmenu-list):
* lisp/files.el (find-file):
* lisp/view.el (view-buffer):
* lisp/progmodes/compile.el (compilation-goto-locus):
* lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
* lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
* lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
(org-mark-ring-goto, org-refile, org-add-log-note)
(org-revert-all-org-buffers, org-switchb)
(org-cycle-agenda-files, org-submit-bug-report)
(org-goto-marker-or-bmk):
* lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
* lisp/org/org-capture.el (org-capture-goto-target)
(org-capture-fill-template):
* lisp/org/org-clock.el (org-clock-goto):
* lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
* lisp/org/org-exp.el (org-export-as-org):
* lisp/org/org-feed.el (org-feed-show-raw-feed):
* lisp/org/org-html.el (org-export-htmlize-generate-css):
* lisp/org/org-id.el (org-id-goto):
* lisp/org/org-irc.el (org-irc-visit-erc):
* lisp/org/org-mobile.el (org-mobile-apply):
* lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
* lisp/org/org-remember.el (org-go-to-remember-target):
* lisp/org/org-src.el (org-src-switch-to-buffer)
(org-edit-fixed-width-region): Use switch-to-buffer.
* lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
2011-09-02 12:38:40 -04:00
Thierry Volpiatto
81ec0c88f2
Add missing piece of earlier commit.
...
* lisp/vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.
Fixes: debbugs:9391
2011-09-02 00:54:34 -07:00
Chong Yidong
2a7bdc1a6f
Minor doc fix for last change.
2011-09-01 22:38:56 -04:00
Chong Yidong
89894cd8be
Split default-buffer-default into separate display action components.
...
* lisp/window.el (display-buffer-alist): Doc fix.
(display-buffer): Add docstring. Don't treat display-buffer-default specially.
(display-buffer-reuse-selected-window)
(display-buffer-same-window, display-buffer-maybe-same-window)
(display-buffer-reuse-window, display-buffer-pop-up-frame)
(display-buffer-pop-up-window)
(display-buffer-reuse-or-pop-window)
(display-buffer-use-some-window): New functions.
(display-buffer-default-action): Use them.
(display-buffer-default): Deleted.
(pop-to-buffer-1): Fix choice of actions.
2011-09-01 22:23:43 -04:00
Stefan Monnier
ae0bc9fbe5
* lisp/minibuffer.el (completion--insert-strings): Don't get confused by
...
completion entries that end with an LF char.
2011-09-01 20:36:58 -04:00
Eli Zaretskii
e9d90883a2
lisp/window.el (frame-auto-delete, window-deletable-p): Doc fix.
2011-09-01 20:51:42 +03:00
Chong Yidong
437014c8ad
Fix display-buffer interactive spec, and fixes for pop-to-buffer*.
...
* lisp/window.el (display-buffer): Restore interactive spec.
(display-buffer-same-window, display-buffer-other-window): New
functions.
(pop-to-buffer-1): New function. Use the above.
(pop-to-buffer, pop-to-buffer-same-window): Use it.
(pop-to-buffer-other-window, pop-to-buffer-other-frame): Deleted.
* lisp/view.el (view-buffer-other-window, view-buffer-other-frame):
Just use pop-to-buffer.
2011-09-01 13:04:30 -04:00
Andrew Cohen
6ed17f119f
gnus-sum.el: When adding article headers to a summary buffer also update gnus-newsgroup-articles (bug#9386).
2011-09-01 13:25:09 +00:00
Glenn Morris
fc27895144
Auto-commit of loaddefs files.
2011-09-01 06:18:38 -04:00
Thierry Volpiatto
a5e063d5b6
* lisp/vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.
...
Fixes: debbugs:9391
2011-09-01 00:34:08 -07:00
Wilfred Hughes
793d32bb23
* lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change)
...
Fixes: debbugs:9408
2011-09-01 00:29:56 -07:00
Glenn Morris
e350c3a032
bzr 2.4.0, including changelog_merge plugin, was released.
2011-09-01 00:24:27 -07:00
Richard M. Stallman
d65e4c159b
Properly handle splitting of Rmail buffer and message view buffer.
2011-08-31 16:49:24 -04:00
Glenn Morris
9b6e5515b4
Auto-commit of generated files.
2011-08-31 06:18:35 -04:00
Martin Rudalics
f818cd2a39
Restore Emacs 23 display-buffer functions and options.
...
* window.el (display-buffer-window): Rewrite doc-string.
(display-buffer-record-window): New function.
(display-buffer-macro-specifiers)
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, display-buffer-in-window)
(display-buffer-reuse-window, display-buffer-split-specifiers)
(display-buffer-side-specifiers, 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)
(display-buffer-other-window-means-other-frame)
(display-buffer-normalize-special)
(display-buffer-normalize-default)
(display-buffer-normalize-argument)
(display-buffer-normalize-alist-1, display-buffer-normalize-alist)
(display-buffer-normalize-specifiers, display-buffer-frame)
(display-buffer-same-window, display-buffer-same-frame)
(display-buffer-other-window)
(display-buffer-same-frame-other-window)
(display-buffer-other-frame, 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)
(display-buffer-alist-of-strings-p, display-buffer-alist-add)
(display-buffer-alist-set-1, display-buffer-alist-set-2)
(display-buffer-alist-set): Remove.
(display-buffer-function, special-display-buffer-names)
(special-display-regexps, special-display-function): In
doc-string refer to display-buffer-window and quit-restore
parameter.
(pop-up-frame-alist, pop-up-frame-function, special-display-p)
(special-display-frame-alist, special-display-popup-frame)
(same-window-buffer-names, same-window-regexps, same-window-p)
(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, window-splittable-p)
(split-window-sensibly, window--try-to-split-window)
(window--frame-usable-p, even-window-heights)
(window--even-window-heights, window--display-buffer-1)
(window--display-buffer-2, display-buffer-other-frame): Restore
old Emacs 23 code, order and doc-strings where applicable.
(display-buffer-default, display-buffer-assq-regexp): New functions.
(display-buffer-alist): Rewrite doc-string.
(display-buffer-default-action)
(display-buffer-overriding-action): New variables.
(display-buffer, switch-to-buffer): Rewrite.
(pop-to-buffer): Restore Emacs 23 behavior but use
window-normalize-buffer-to-display.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Restore Emacs 23 behavior but use
window-normalize-buffer-to-switch-to.
(pop-to-buffer-same-window): Rewrite.
(pop-to-buffer-other-window, pop-to-buffer-other-frame): Rewrite
using Emacs 23 options.
* org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
argument from pop-to-buffer-same-window call.
2011-08-31 11:27:49 +02:00
Michael Albinus
5bc3b51d1e
* net/tramp.el (tramp-root-regexp): Remove.
...
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Don't use leading volume
letter on win32 systems. (Bug#5303, Bug#9311)
(tramp-drop-volume-letter): Simplify definition. Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.
2011-08-31 10:18:20 +02:00
Katsumi Yamaoka
b0de839f5d
auth-source.el: Autoload help-mode.
2011-08-30 23:01:50 +00:00
Chong Yidong
51751aa26f
Merge changes from emacs-23 branch
2011-08-30 18:43:43 -04:00
Chong Yidong
6e20a0d47c
Fix syntax scanning bug causing fontification crashes.
...
* src/syntax.c (find_defun_start): Update all cache variables if
exiting early.
Fixes: debbugs:9401
2011-08-30 18:38:07 -04:00
Lars Magne Ingebrigtsen
3eacc9cdef
gnus-group.el (gnus-group-name-charset): Don't bug out on server names.
2011-08-30 22:07:52 +00:00
Paul Eggert
1f87634f0a
* configure.in: Remove no-longer used HP patterns.
...
(opsys): Remove unreachable pattern hppa*-*-linux-gnu*.
Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
and that can't possibly work now that src/m/hp800.h no longer exists.
2011-08-30 13:46:59 -07:00
Paul Eggert
695a3dc536
* configure.in (opsys): Change pattern to *-*-linux*.
2011-08-30 13:41:54 -07:00
Eli Zaretskii
f6cfbd8f9d
src/image.c (x_bitmap_pixmap): Cast to int to avoid compiler warnings.
2011-08-30 21:15:53 +03:00
Eli Zaretskii
148ae00e30
Fix bug #9402 with :align-to on TTY frames.
...
src/xdisp.c (produce_stretch_glyph): No longer static, compiled also
when HAVE_WINDOW_SYSTEM is not defined. Support both GUI and TTY
frames. Call tty_append_glyph in the TTY case. (Bug#9402)
src/term.c (tty_append_glyph): New function.
(produce_stretch_glyph): Static function and its prototype deleted.
src/dispextern.h (produce_stretch_glyph, tty_append_glyph): Add
prototypes.
2011-08-30 20:32:44 +03:00
Paul Eggert
015faae4f8
* configure.in (opsys): Add pattern *-gnu-linux*
...
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
2011-08-30 08:57:22 -07:00
Chong Yidong
35137ed3a5
Document new Emacs 24 faces in Lisp manual.
...
* doc/lispref/display.texi (Basic Faces): New node. Document new faces.
* doc/lispref/modes.texi (Major Mode Conventions): Move some text there.
(Mode Help): Remove major-mode var, duplicated in Major Modes.
2011-08-30 11:24:07 -04:00
Stefan Monnier
b1a4f8e1d8
* lisp/subr.el (event-modifiers): Fix "missing modifier" part of docstring.
...
Fixes: debbugs:9356
2011-08-30 10:50:02 -04:00
Reuben Thomas
5664fa7b04
* lisp/vc/pcvs-defs.el (cvs-find-file-and-jump): Typo in docstring.
...
Fixes: debbugs:9369
2011-08-30 10:40:51 -04:00
Paul Eggert
393aa9d403
* MACHINES: Remove obsolete info and update a bit (Bug#9404).
2011-08-29 22:52:05 -07:00
Paul Eggert
f9453fcbeb
* PROBLEMS: Remove obsolete comment re Yellow Dog (Bug#9403).
2011-08-29 19:05:43 -07:00
Chong Yidong
3fd50d5c65
Update and edit manual sections on major modes.
...
* doc/emacs/modes.texi (Choosing Modes): auto-mode-case-fold is now t.
* doc/lispref/modes.texi (Basic Major Modes): New node. Callers updated.
(Major Modes): Document fundamental-mode and major-mode.
(Major Mode Basics): Node deleted; text moved to Major Modes.
(Derived Modes): Document derived-mode-p.
2011-08-29 18:02:21 -04:00
Juri Linkov
9a45d6c331
* lisp/isearch.el (isearch-done): Don't display message "Mark saved"
...
when arg `edit' is non-nil to prevent its flicker in the echo area.
2011-08-29 23:22:44 +03:00
Stefan Monnier
b31b81a53a
* leim/quail/latin-ltx.el: Complete the super and subscript letters.
2011-08-29 14:48:01 -04:00
Paul Eggert
c4a07a4ce7
* image.c (parse_image_spec): Check for nonnegative, not for positive,
...
when checking :margin (Bug#9390).
(IMAGE_NON_NEGATIVE_INTEGER_VALUE_OR_PAIR):
Renamed from IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR,
so that the name doesn't mislead. All uses changed.
2011-08-28 20:34:25 -07:00
Daiki Ueno
0f3de88f02
Merge changes made in Gnus trunk.
...
mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of mm-replace-in-string for compatibility issues.
mml2015.el (mml2015-epg-verify): Ditto.
2011-08-28 22:04:32 +00:00
Chong Yidong
fb87e0fb94
Fix package menu bug in marking obsolete packages for deletion.
...
* lisp/emacs-lisp/package.el (package-menu-mark-delete): Allow marking
obsolete packages for deletion.
2011-08-28 17:32:50 -04:00
Chong Yidong
e2aeef63a6
Add xrefs to View Mode node to Emacs manual.
...
* doc/emacs/files.texi (File Archives):
* doc/emacs/cal-xtra.texi (Diary Display):
* doc/emacs/help.texi (Help Mode): Add xref to View Mode.
2011-08-28 17:15:20 -04:00