Chong Yidong [Thu, 5 Jan 2012 11:12:11 +0000 (19:12 +0800)]
Tweak handling of custom-enabled-themes and custom-safe-themes.
* lisp/cus-theme.el (custom-theme-merge-theme): Ignore
custom-enabled-themes and custom-safe-themes.
* lisp/custom.el (enable-theme): Don't set custom-safe-themes.
Chong Yidong [Thu, 5 Jan 2012 11:09:27 +0000 (19:09 +0800)]
Update the Customization chapter of Emacs manual.
* doc/emacs/custom.texi (Customization Groups): Update example.
(Browsing Custom): Document the new search field.
(Changing a Variable): Update example for Emacs 24 changes.
Document Custom-set and Custom-save commands.
(Face Customization): Document Emacs 24 changes. De-document
modify-face.
(Specific Customization): Mention customize-variable.
(Custom Themes): Add customize-themes, custom-theme-load-path,
custom-theme-directory, and describe-theme.
(Creating Custom Themes): New node.
(Examining): Mention M-:.
* doc/emacs/package.texi (Packages): Fix typo.
Glenn Morris [Thu, 5 Jan 2012 09:46:05 +0000 (01:46 -0800)]
Add 2012 to FSF copyright years for Emacs files
Glenn Morris [Thu, 5 Jan 2012 09:44:36 +0000 (01:44 -0800)]
Convert some consecutive FSF copyright years to ranges; add 2012.
Glenn Morris [Thu, 5 Jan 2012 08:05:57 +0000 (00:05 -0800)]
Update refcard Emacs version numbers.
* refcards/calccard.tex, refcards/cs-dired-ref.tex:
* refcards/cs-refcard.tex, refcards/cs-survival.tex:
* refcards/de-refcard.tex, refcards/dired-ref.tex:
* refcards/fr-dired-ref.tex, refcards/fr-refcard.tex:
* refcards/fr-survival.tex, refcards/pl-refcard.tex:
* refcards/pt-br-refcard.tex, refcards/refcard.tex:
* refcards/ru-refcard.tex, refcards/sk-dired-ref.tex:
* refcards/sk-refcard.tex, refcards/sk-survival.tex:
* refcards/survival.tex: Bump version number to 24.
Glenn Morris [Thu, 5 Jan 2012 08:00:08 +0000 (00:00 -0800)]
Copyright, license, and header fixes for Org.
Glenn Morris [Thu, 5 Jan 2012 07:51:27 +0000 (23:51 -0800)]
Typo fix.
Glenn Morris [Thu, 5 Jan 2012 07:49:56 +0000 (23:49 -0800)]
ChangeLog fixes.
Glenn Morris [Thu, 5 Jan 2012 07:45:28 +0000 (23:45 -0800)]
Update short copyright year to 2012.
* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright): Update short copyright year to 2012.
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
* src/emacs.c (emacs_copyright): Update short copyright year to 2012.
Michael Mauger [Thu, 5 Jan 2012 03:45:30 +0000 (22:45 -0500)]
2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
* progmodes/sql.el (sql-login-hook): Add hook to respond to the
first prompt in `sql-interacive-mode'.
(sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
keywords.
(sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
(sql-product-interactive): Bug fix: Set `sql-buffer' in
context of original buffer. Invoke `sql-login-hook'.
Gnus developers [Wed, 4 Jan 2012 22:14:09 +0000 (22:14 +0000)]
Merge changes made in Gnus trunk.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Group Parameters): Note precedence.
2012-01-04 Chris Gray <chrismgray@gmail.com> (tiny change)
* mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a
live buffer.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnir.el (nnir-retrieve-headers): Protect against the article not
existing on the server (bug#10335).
2012-01-04 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
* gnus-agent.el (gnus-agent-load-local): Recompute
gnus-agent-article-local on changing method.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.el (gnus-parameters): Note precedence.
2012-01-04 Leo <sdl.web@gmail.com>
* nndraft.el (nndraft-update-unread-articles): Don't move point around
in the group buffer.
Eli Zaretskii [Wed, 4 Jan 2012 18:51:47 +0000 (20:51 +0200)]
Rmail: support citations with non-ASCII letters in names
lisp/mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
letters in cite-prefix.
Bastien Guerry [Wed, 4 Jan 2012 15:20:49 +0000 (16:20 +0100)]
Fix trailing whitespaces in Org files.
Bastien Guerry [Wed, 4 Jan 2012 15:13:14 +0000 (16:13 +0100)]
Fix even more copyright year for Org files.
Bastien Guerry [Wed, 4 Jan 2012 14:49:41 +0000 (15:49 +0100)]
Fix more copyright year for Org files.
Bastien Guerry [Wed, 4 Jan 2012 14:14:29 +0000 (15:14 +0100)]
Fix copyright year for Org files.
Gnus developers [Wed, 4 Jan 2012 10:49:38 +0000 (10:49 +0000)]
Merge changes made in Gnus trunk.
2012-01-04 Julien Danjou <julien@danjou.info>
* nnimap.el (nnimap-update-info): Fix an error when all articles UIDs
change.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture,
too.
* nntp.el (nntp-retrieve-group-data-early): Use it.
2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nntp.el (nntp-retrieval-in-progress): New variable.
(nntp-make-process-buffer): Make it buffer-local.
* gnus-demon.el (gnus-demon-time-to-step): Resurrect function lost in
2010.
(gnus-demon-init): Use it to compute the time if time is on the form
"04:23".
* gnus-topic.el (gnus-topic-history): Define `gnus-topic-history'.
* nnimap.el (nnimap-finish-retrieve-group-infos): Check the connection
status in the correct buffer.
2012-01-03 Leo <sdl.web@gmail.com>
* gnus-topic.el (gnus-topic-goto-next-group): Don't move point around
when opening topics (bug#10407).
Chong Yidong [Wed, 4 Jan 2012 06:39:31 +0000 (14:39 +0800)]
Fix copyright headers for etc/org/ files.
Rename etc/org/COPYRIGHT-AND-LICENSE to etc/org/README for consistency
with other copyright files, and add a reference to it in the .xml
files.
Lars Magne Ingebrigtsen [Tue, 3 Jan 2012 19:41:14 +0000 (20:41 +0100)]
* mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
Bastien Guerry [Tue, 3 Jan 2012 17:27:21 +0000 (18:27 +0100)]
Merge Org 7.8.03
Chong Yidong [Tue, 3 Jan 2012 08:55:00 +0000 (16:55 +0800)]
More updates to misc.texi.
* doc/emacs/misc.texi (Single Shell): Don't document Lisp usage of
shell-command. Tidy up discussion of synchronicity. Add index
entries for async-shell-command.
(Interactive Shell): Note that M-x shell uses shell-file-name.
Note change in behavior in Emacs 24.
(Shell Mode): Shell mode now uses completion-at-point.
(Shell Prompts): Emphasize that comint-use-prompt-regexp isn't the
default method for recognizing prompts nowadays.
(Shell Ring): Add xref to Minibuffer History.
(Directory Tracking): Explain Dirtrack mode in more detail.
(Term Mode): Fix index entries.
(Paging in Term): Merge into Term Mode.
(Serial Terminal, Emacs Server, emacsclient Options): Copyedits.
(Printing): Fix xref. State default of lpr-switches.
(PostScript): Remove obsolete sentence. Omit description of
non-interactive behaviors.
(Hyperlinking): Improve description.
(Browse-URL): Using compose-mail for mailto URLs is the default.
Document browse-url-mailto-function.
(Goto Address mode): Add index entries. Add xref to Browse-URL.
(FFAP): FFAP is not a minor mode.
(Amusements): M-x lm was renamed to M-x landmark. Document
nato-region.
Chong Yidong [Tue, 3 Jan 2012 06:31:08 +0000 (14:31 +0800)]
Fix shell completion regression.
* lisp/shell.el (shell-dynamic-complete-functions): Put
pcomplete-completions-at-point, so as to try
comint-filename-completion first (Bug#10417).
Juanma Barranquero [Tue, 3 Jan 2012 02:14:40 +0000 (03:14 +0100)]
Fix typos.
Richard M. Stallman [Mon, 2 Jan 2012 23:18:48 +0000 (18:18 -0500)]
Handle battery capacity on Lemote Yeeloong.
Chong Yidong [Mon, 2 Jan 2012 09:27:32 +0000 (17:27 +0800)]
Move shell-dir-cookie-re feature into Dirtrack mode.
* lisp/dirtrack.el (dirtrack-list): Eliminate unused third element.
(dirtrack): Merge code for handling relative filenames in prompt
from shell-dir-cookie-watcher.
(dirtrack-debug-message): New arg to avoid excess format calls.
* lisp/shell.el (shell-dir-cookie-re): Variable deleted.
(shell-dir-cookie-watcher): Function deleted.
(shell-mode): Don't use shell-dir-cookie-re, since it is redundant
with dirtrack-mode.
Eli Zaretskii [Sun, 1 Jan 2012 16:26:51 +0000 (18:26 +0200)]
Allow Emacs on w32 to build against and work with GnuTLS 3.x.
src/gnutls.c (init_gnutls_functions): Load gnutls_check_version.
Load gnutls_transport_set_lowat only if GnuTLS version is below
2.11.1.
(emacs_gnutls_handshake): Call gnutls_transport_set_lowat only for
GnuTLS versions below 2.11.1.
lisp/term/w32-win.el (dynamic-library-alist) <gnutls>: Load
libgnutls-28.dll, from GnuTLS version 3.x, in preference to
libgnutls-26.dll.
Glenn Morris [Sun, 1 Jan 2012 11:23:13 +0000 (06:23 -0500)]
Auto-commit of loaddefs files.
Chong Yidong [Sun, 1 Jan 2012 08:21:38 +0000 (16:21 +0800)]
Updates to misc.texi in Emacs manual.
* misc.texi (Gnus, Buffers of Gnus): Copyedits.
(Gnus Startup): Note that the system might not be set up for news.
Describe group levels more clearly.
(Gnus Group Buffer, Gnus Summary Buffer): New nodes, split from
Summary of Gnus.
(Document View): Copyedits. Move zoom commads to DocView
Navigation node.
(DocView Navigation, DocView Searching, DocView Slicing)
(DocView Conversion): Nodes renamed from Navigation, etc.
* sending.texi (Mail Sending): Add message-kill-buffer-on-exit.
Andreas Schwab [Sat, 31 Dec 2011 14:43:38 +0000 (15:43 +0100)]
* emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
Eli Zaretskii [Sat, 31 Dec 2011 11:33:09 +0000 (13:33 +0200)]
Fix bug #10380 with description of C-n and C-p.
doc/emacs/basic.texi (Moving Point): Fix the description of C-n and C-p.
Glenn Morris [Sat, 31 Dec 2011 11:20:32 +0000 (06:20 -0500)]
Auto-commit of loaddefs files.
Eli Zaretskii [Sat, 31 Dec 2011 10:06:21 +0000 (12:06 +0200)]
Decode message headers of non-MIME messages in Rmail.
lisp/mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
headers of non-MIME messages, when rmail-enable-mime is non-nil.
Paul Eggert [Sat, 31 Dec 2011 08:36:43 +0000 (00:36 -0800)]
Add Bug#8828 to my 2011-06-15 entry.
Antoine Levitt [Sat, 31 Dec 2011 08:25:48 +0000 (10:25 +0200)]
Fix bug #9246 with scrolling in ERC under word-wrap.
lisp/erc/erc-goodies.el (erc-scroll-to-bottom): Use post-command-hook
rather than window-scroll-functions. Fixes a bug with scrolling under
word-wrap on a tty.
Antoine Levitt [Sat, 31 Dec 2011 08:16:41 +0000 (10:16 +0200)]
Doc fix for window-scroll-functions.
src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Add warning
to the doc string advising against its use for altering the way
windows are scrolled.
Paul Eggert [Sat, 31 Dec 2011 01:27:15 +0000 (17:27 -0800)]
Spelling fixes.
Chong Yidong [Fri, 30 Dec 2011 10:19:42 +0000 (18:19 +0800)]
Update Sending Mail chapter of Emacs manual.
* sending.texi (Sending Mail): Document initial mail buffer name,
and changed multiple mail buffer behavior.
(Mail Format): Put the example at the top of the section.
(Mail Headers): Move discussion of "From" to the top.
(Mail Sending): Document sendmail-query-once.
(Citing Mail): Make it less Rmail-specific.
Paul Eggert [Fri, 30 Dec 2011 02:52:49 +0000 (18:52 -0800)]
Spelling fixes.
Juanma Barranquero [Thu, 29 Dec 2011 18:08:46 +0000 (19:08 +0100)]
doc/lispref/frames.texi (Font and Color Parameters): Add @pxref.
Daniel Colascione [Thu, 29 Dec 2011 16:20:26 +0000 (17:20 +0100)]
doc/lispref/frames.texi: Document w32 font backends (bug#10399).
Chong Yidong [Thu, 29 Dec 2011 15:58:42 +0000 (23:58 +0800)]
Cleanups for the new Org section in the Emacs manual.
* doc/emacs/text.texi (Org Mode): Copyedits. Refer to Outline Format for
example. Add index entries.
(Org Organizer, Org Authoring): Nodes renamed. Copyedits.
Ted Zlatanov [Thu, 29 Dec 2011 13:12:18 +0000 (08:12 -0500)]
Fix earlier ChangeLog message from 2011-12-21T11:30:00Z!tzz@lifelogs.com.
Michael Albinus [Thu, 29 Dec 2011 11:34:44 +0000 (12:34 +0100)]
* net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
also for alternative shells.
(tramp-open-connection-setup-interactive-shell): Check, whether
the shell is a busybox.
(tramp-send-command): Don't suppress multiple prompts for
busyboxes, it hurts.
Kenichi Handa [Wed, 28 Dec 2011 07:57:14 +0000 (16:57 +0900)]
merge trunk
Kenichi Handa [Wed, 28 Dec 2011 07:55:49 +0000 (16:55 +0900)]
coding.c: (Fdefine_coding_system_internal): Make an utf-8 base coding-system ASCII compatible only when it does not produce BOM on encoding (Bug#10383).
Paul Eggert [Wed, 28 Dec 2011 06:59:21 +0000 (22:59 -0800)]
doc: Use clearer notations for permissions.
* doc/lispref/files.texi (File Attributes, Changing Files):
Use a more-natural notation for octal numbers.
* doc/misc/gnus.texi (Mail Source Customization, Mail Back End Variables):
Use octal notation for file permissions, which are normally
thought of in octal.
(Mail Back End Variables): Use more-plausible modes in example.
Chong Yidong [Wed, 28 Dec 2011 05:23:47 +0000 (13:23 +0800)]
Fix GDB mode line for gdb-create-source-file-list nil.
* lisp/progmodes/gdb-mi.el (gdb-get-source-file-list)
(gdb-get-source-file): Move mode line update to gdb-get-source-file.
Fixes: debbugs:10087
Katsumi Yamaoka [Wed, 28 Dec 2011 02:40:35 +0000 (02:40 +0000)]
mm-view.el (mm-display-inline-fontify): Add comment.
Bill Wohler [Tue, 27 Dec 2011 22:10:34 +0000 (14:10 -0800)]
Update release notes to reflect a fixed, reported bug.
Bill Wohler [Tue, 27 Dec 2011 04:56:26 +0000 (20:56 -0800)]
Update release notes to reflect a fixed, reported bug.
Jan Djärv [Mon, 26 Dec 2011 18:00:38 +0000 (19:00 +0100)]
* xmenu.c (x_menu_wait_for_event): Use xg_select for Gtk3 so menus
can scroll.
(create_and_show_popup_menu): Always use menu_position_func for
Gtk3.
Fixes: debbugs:10361
Chong Yidong [Mon, 26 Dec 2011 10:36:41 +0000 (18:36 +0800)]
Update Abbrevs and Dired chapters of Emacs manual.
* dired.texi (Dired Enter, Misc Dired Features): Document
dired-use-ls-dired changes. Mention quit-window.
(Dired Navigation): Add index entries.
(Dired Visiting): Fix View Mode xref.
(Marks vs Flags): Prefer C-/ binding for undo.
(Subdirectories in Dired): Add xrefs.
(Misc Dired Features): Document some Emacs 24 changes. Add index
entries.
* abbrevs.texi (Abbrev Concepts): No need to mention abbrev-mode
variable, since it is explained in Minor Modes node.
(Defining Abbrevs): Copyedits.
(Expanding Abbrevs): State default of abbrev-all-caps. Prefer the
C-/ binding for undo.
(Dabbrev Customization): Add xrefs for case-fold-search and
case-replace.
* dired-xtra.texi (Subdir Switches): Add xref.
* maintaining.texi (VC Directory Commands): Mention quit-window.
Chong Yidong [Sun, 25 Dec 2011 14:16:00 +0000 (22:16 +0800)]
More updates to Maintaining chapter of Emacs manual.
* files.texi (Misc File Ops): Mention vc-delete-file.
* maintaining.texi (Tags): Mention Semantic.
(Create Tags Table, Etags Regexps): Copyedits.
(Find Tag): Mention minibuffer completion.
(List Tags): Mention completion-at-point. Completion is actually
available in M-x list-tags.
* programs.texi (Symbol Completion): Mention completion-at-point
explicitly.
* vc1-xtra.texi (VC Delete/Rename): Rename from Renaming and VC.
Document vc-delete-file.
Chong Yidong [Sun, 25 Dec 2011 10:46:49 +0000 (18:46 +0800)]
Fix GDB/MI inline completion.
* progmodes/gdb-mi.el (gdb-input): Accept command and handler
function as separate arguments.
(gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
(gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
(gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
(gdb-var-delete-children, gdb-edit-value, gdb-var-update)
(gdb-stopped, def-gdb-auto-update-trigger)
(gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
(gdb-get-changed-registers, gdb-get-main-selected-frame): Callers
changed.
(gud-gdbmi-completions): New function.
(gdb): Use it for generating the completion table.
* progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
gud-gdb-marker-filter without taking it as an argument.
(gud-gdb-run-command-fetch-lines): Caller changed.
(gud-gdb-completion-function): New variable.
(gud-gdb-completion-at-point): Use it.
(gud-gdb-completions-1): Split from gud-gdb-completions.
Andreas Schwab [Sun, 25 Dec 2011 09:55:37 +0000 (10:55 +0100)]
* etags.c (C_entries): Properly skip over string and character
constants inside brackets. (Bug#10357)
Andreas Schwab [Sun, 25 Dec 2011 09:06:42 +0000 (10:06 +0100)]
* callint.c (Fcall_interactively): Don't truncate prompt string.
Alan Mackenzie [Sat, 24 Dec 2011 19:32:31 +0000 (19:32 +0000)]
Introduce a mechanism to widen the region used in context font locking.
Use this to protect declarations from losing their contexts.
Eli Zaretskii [Sat, 24 Dec 2011 19:24:10 +0000 (21:24 +0200)]
Add the bug number #10360 to the entry for 2011-12-23T14:51:51Z!eliz@gnu.org.
The real fix for bug 10360 is in 2011-12-23T14:51:51Z!eliz@gnu.org.
Juri Linkov [Sat, 24 Dec 2011 19:16:53 +0000 (21:16 +0200)]
* lisp/window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
Fixes: debbugs:10348
Eli Zaretskii [Fri, 23 Dec 2011 14:51:51 +0000 (16:51 +0200)]
Fix assertion violation in pop_it when org-indent-mode is used.
src/xdisp.c (handle_invisible_prop): Handle correctly an invisible
property that ends at ZV, so that the bidi iteration could be
resumed from there (after widening).
Michael Albinus [Fri, 23 Dec 2011 14:31:35 +0000 (15:31 +0100)]
* net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
existence of source file. (Bug#10325)
Juanma Barranquero [Fri, 23 Dec 2011 13:14:12 +0000 (14:14 +0100)]
Fix bug#10354.
* doc/lispref/variables.texi (Variables with Restricted Values):
Change reference to variable.
Alan Mackenzie [Fri, 23 Dec 2011 11:48:54 +0000 (11:48 +0000)]
Fix unstable fontification inside templates.
Juanma Barranquero [Fri, 23 Dec 2011 00:44:27 +0000 (01:44 +0100)]
lisp/desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
Juri Linkov [Thu, 22 Dec 2011 23:30:10 +0000 (01:30 +0200)]
Small doc fixes.
Juri Linkov [Thu, 22 Dec 2011 22:32:46 +0000 (00:32 +0200)]
* progmodes/grep.el (rgrep): Fix docstring.
Fixes: debbugs:10185
Jan Djärv [Thu, 22 Dec 2011 13:58:40 +0000 (14:58 +0100)]
* nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.
Chong Yidong [Thu, 22 Dec 2011 10:16:45 +0000 (18:16 +0800)]
* vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
Chong Yidong [Thu, 22 Dec 2011 10:14:41 +0000 (18:14 +0800)]
More updates for VC documentation.
* doc/emacs/vc1-xtra.texi (Version Headers): Note that these are for
Subversion, CVS, etc. only.
(General VC Options): De-document vc-keep-workfiles. Fix RCS-isms.
* doc/emacs/maintaining.texi (Change Log Commands): Don't specially mention
vc-update-change-log which is CVS-only.
Eli Zaretskii [Thu, 22 Dec 2011 03:56:49 +0000 (05:56 +0200)]
doc/emacs/building.texi (Debugger Operation): Fix a typo in "@end iftex".
Drew Adams [Wed, 21 Dec 2011 18:33:38 +0000 (19:33 +0100)]
* files.el (file-remote-p): Fix docstring. (Bug#10319)
Bastien Guerry [Wed, 21 Dec 2011 14:02:38 +0000 (15:02 +0100)]
text.texi: add a section about Org Mode.
This section describes general concepts behind Org Mode
and redirects to the Org Manual when necessary.
Jérémy Compostella [Wed, 21 Dec 2011 12:20:40 +0000 (07:20 -0500)]
* lisp/battery.el (battery-linux-sysfs): Add missing parameters from acpi.
Ted Zlatanov [Wed, 21 Dec 2011 11:30:00 +0000 (06:30 -0500)]
* progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support.
Paul Eggert [Wed, 21 Dec 2011 09:58:39 +0000 (01:58 -0800)]
Spelling fixes.
Chong Yidong [Wed, 21 Dec 2011 08:39:32 +0000 (16:39 +0800)]
More updates for VC documentation.
* files.texi (Misc File Ops): Mention vc-rename-file.
* maintaining.texi (Advanced C-x v v): Use fileset terminology.
(VC With A Merging VCS, VC Change Log): Add xref to VC Pull node.
(VC Pull): Mention vc-log-incoming.
(Log Buffer): Add CVS/RCS only disclaimer.
* vc1-xtra.texi (Remote Repositories): Update introduction.
(Local Version Control): Node deleted (obsolete with DVCSes).
(Remote Repositories, Version Backups): Node deleted. Move
documentation of vc-cvs-stay-local to CVS Options.
(CVS Options): Reduce verbosity of description of obscure CVS
locking feature.
(Making Revision Tags, Revision Tag Caveats): Merge into Revision
Tags node.
(Revision Tags): Move under Miscellaneous VC subsection.
(Change Logs and VC): Note that this is wrong for DVCSs.
De-document log entry manipulating features.
(Renaming and VC): Describe how it works on modern VCSes.
* programs.texi (Custom C Indent): Add index entries.
Jan Djärv [Wed, 21 Dec 2011 08:04:19 +0000 (09:04 +0100)]
Fix biggest memory leaks in NS-port. More remain.
* emacs.c (ns_pool): New variable.
(main): Assign ns_pool.
(Fkill_emacs): Call ns_release_autorelease_pool.
* nsfns.m (x_set_background_color): Assign return value from
ns_index_color to face-background instead of NSColor*.
(ns_implicitly_set_icon_type): Fix indentation.
Change assignment in for loop to comparison.
* nsfont.m (ns_spec_to_descriptor): Fix indentation,
autorelease fdesc, release fdAttrs and tdict.
(ns_get_covering_families): Release charset.
(ns_findfonts): Release NSFontDescriptor created with new.
(ns_uni_to_glyphs): Fix indentation.
(setString): Release attrStr before assigning new value.
* nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
before returning.
* nsterm.m (x_free_frame_resources): Release
f->output_data.ns->miniimage
(ns_index_color): Fix indentation. Do not retain
color_table->colors[i].
Chong Yidong [Wed, 21 Dec 2011 07:46:49 +0000 (15:46 +0800)]
* vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg.
Jan Djärv [Wed, 21 Dec 2011 06:37:49 +0000 (07:37 +0100)]
Attribute Aquamacs code to David Reitter.
Alan Mackenzie [Tue, 20 Dec 2011 16:00:47 +0000 (16:00 +0000)]
Update programs.texi and cc-mode.texi for new CC Mode features:
cc-mode.texi: Update version string to 5.32.
programs.texi: Describe "guessing" of indentation style. Update C-M-a/e.
Martin Rudalics [Tue, 20 Dec 2011 07:45:20 +0000 (08:45 +0100)]
Restore Emacs 23 handling of display-buffer's BUFFER-OR-NAME argument.
* window.el (window-normalize-buffer-to-display): Remove.
(display-buffer): Handle buffer-or-name argument as in Emacs 23.
Chong Yidong [Tue, 20 Dec 2011 03:00:10 +0000 (11:00 +0800)]
More updates for VC documentation.
* doc/emacs/maintaining.texi (VCS Concepts): Add "working tree" terminology.
(Old Revisions): Use it.
(VCS Repositories): Add "distributed" terminology.
(Log Buffer): Remove duplicate description
about changesets. Fix "current VC fileset" ambiguity.
(Multi-User Branching): Node deleted.
(Branches, Switching Branches): Discuss decentralized version control systems.
(VC Pull): New node.
(Merging): Document merging on decentralized systems.
(Creating Branches): Note that this is specific to CVS and related systems.
Juanma Barranquero [Mon, 19 Dec 2011 15:46:50 +0000 (16:46 +0100)]
Fix typos.
Sam Steingold [Mon, 19 Dec 2011 15:15:11 +0000 (10:15 -0500)]
* lisp/cedet/semantic/edit.el (semantic-edits-incremental-parser):
Add the autoload cookie, necessary for JDEE.
Glenn Morris [Mon, 19 Dec 2011 11:21:17 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.
Chong Yidong [Mon, 19 Dec 2011 07:25:46 +0000 (15:25 +0800)]
More updates for VC documentation.
* doc/emacs/maintaining.texi (VCS Merging, VCS Changesets): Index entries.
(VC Mode Line): Add index entry for "version control status".
(VC Undo): Use vc-revert instead of its vc-revert-buffer alias.
Document vc-revert-show-diff. De-document vc-rollback.
(VC Directory Mode): Rewrite introduction. Move prefix arg
documentation here from VC Directory Buffer node.
(VC Directory Buffer): Use a decentralized VCS example.
(VC Directory Commands): Use a table. Remove material duplicated
in previous nodes on multi-file VC filsets.
Chong Yidong [Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)]
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.
* lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
Don't signal an error in a predicate function; return non-nil.
(vc-dir-mark-file): Move the error here.
(vc-dir-mark-unmark): If acting on the region, keep going if one
of the entries cannot be marked/unmarked.
(vc-dir-mark-all-files): If current entry is a directory, mark
only child files, as documented.
Vincent Belaïche [Mon, 19 Dec 2011 06:30:36 +0000 (07:30 +0100)]
Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature addition.
Paul Eggert [Mon, 19 Dec 2011 06:21:24 +0000 (22:21 -0800)]
Spelling fixes.
Jan Djärv [Sun, 18 Dec 2011 14:53:01 +0000 (15:53 +0100)]
Fix spelling AquaEmacs => Aquamacs
Jan Djärv [Sun, 18 Dec 2011 14:50:19 +0000 (15:50 +0100)]
Adapt code from AquaEmacs to handle occasional blank menus.
* nsmenu.m (trackingMenu): New variable.
(NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and
NS_IMPL_COCOA.
(trackingNotification): New method (from AquaEmacs).
(menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
from AquaEmacs.
(syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
* nsterm.m (ns_term_init): Subscribe for notifications
NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
to method trackingNotification in EmacsMenu.
Fixes: debbugs:7030
Jan Djärv [Sun, 18 Dec 2011 13:49:38 +0000 (14:49 +0100)]
NS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion).
Thread is on emacs-devel.
* lisp/term/ns-win.el (ns-get-selection-internal)
(ns-store-selection-internal): Declare.
(ns-store-cut-buffer-internal, ns-get-cut-buffer-internal): Declare
as obsolete.
(ns-get-pasteboard, ns-paste-secondary): Use
ns-get-selection-internal.
(ns-set-pasteboard, ns-copy-including-secondary): Use
ns-store-selection-internal.
* src/nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
(symbol_to_nsstring): Fix indentation.
(ns_symbol_to_pb): New function.
(Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
(Fns_rotate_cut_buffers_internal): Removed.
(Fns_store_selection_internal): Renamed from
Fns_store_cut_buffer_internal.
(ns_get_foreign_selection, Fx_own_selection_internal)
(Fx_disown_selection_internal, Fx_selection_exists_p)
(Fns_get_selection_internal, Fns_store_selection_internal): Use
ns_symbol_to_pb and check if return value is nil.
(syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT. Remove
defsubr Sns_rotate_cut_buffers_internal. Sns_get_cut_buffer_internal
renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
renamed to Sns_store_selection_internal.
(ns_handle_selection_request): Move code to Fx_own_selection_internal
and remove this function.
(ns_handle_selection_clear): Remove, never used.
(Fx_own_selection_internal): Move code from ns_handle_selection_request
here.
Ken Brown [Sat, 17 Dec 2011 17:00:49 +0000 (12:00 -0500)]
* src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
GID is unknown (Bug#10257).
Glenn Morris [Sat, 17 Dec 2011 11:17:53 +0000 (06:17 -0500)]
Auto-commit of generated files.
Chong Yidong [Sat, 17 Dec 2011 07:50:08 +0000 (15:50 +0800)]
More updates for VC documentation.
* doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
less CVS-specific.
(VC With A Merging VCS, VC With A Locking VCS): Add xref to
Registering node.
(Secondary VC Commands): Deleted. Promote subnodes.
(Log Buffer): Add command name for C-c C-c. Fix the name of the
log buffer. Add index entries.
(VCS Changesets, Types of Log File, VC With A Merging VCS): Use
"commit" terminology.
(Old Revisions): Move it to just before VC Change Log. "Tag" here
doesn't refer to tags tables. Note other possible forms of the
revision ID. C-x v = does not save.
(Registering): Note similarity to C-x v v action. Fix description
of how backends are chosen. De-document vc-default-init-revision.
(VC Change Log): Document C-x v l in VC-Dir buffer. Document RET
in root log buffers.
* lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.
Paul Eggert [Sat, 17 Dec 2011 06:51:13 +0000 (22:51 -0800)]
Spelling fixes.
Paul Eggert [Sat, 17 Dec 2011 01:05:26 +0000 (17:05 -0800)]
* s/gnu-linux.h: Fix mark_memory typo (Bug#10286).
(GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory,
which caused a build failure on GNU/Linux IA-64. This problem was
introduced by my 2011-10-07 patch.
Paul Eggert [Sat, 17 Dec 2011 00:51:40 +0000 (16:51 -0800)]
Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
* configure.in (HAVE_PTHREAD): Check for pthread_atforkif linking
to gmalloc.c. This should prevent a MirBSD 10 build failure reported
by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00065.html>.
Chong Yidong [Fri, 16 Dec 2011 16:05:59 +0000 (00:05 +0800)]
Fixes for Maintaining chapter of Emacs manual.
* doc/emacs/maintaining.texi (Version Control Systems): Drop Meta-CVS.
(Basic VC Editing): Remove redundant descriptions.
(VC With A Merging VCS): Make description more general instead of
CVS-specific.
(VC With A Locking VCS): Use VC fileset terminology.
Chong Yidong [Fri, 16 Dec 2011 15:55:00 +0000 (23:55 +0800)]
* lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.