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

103629 Commits

Author SHA1 Message Date
Jeffrey C Honig
a17ce60dbc (mh-invisible-header-fields-internal): Added:
Bounces-To:, Bounces_to:, X-ACL-Warn:, X-BFI:, X-BPS1:, X-BPS2:,
X-Campaign-Id:, X-Campaign:, X-Cloudmark-SP-, X-Destination-ID:,
X-detected-operating-system:, X-DocGen-Version:, X-EM-,
X-Email-Type-Id:, X-FB-SS:, X-FuHaFi:, X-MailFlowPolicy:,
X-mail_abuse-inquires, X-MailingID:, X-Match:,
X-MaxCode-Template:, X-ME-Bayesian:, X-Sendergroup:, X-SFDC-,
X-SMFBL:, X-SMHeaderMap:, X-VGI-OESCD:, X-VirtualServer:,
X-VirtualServerGroup:, X-XPT-XSL-Name:, X-Y-GMX-Trusted:,
X-XWALL-, X-ZixNet:. Changed X-Habeas-SWE- to X-Habeas-. Updated
the comment. (addresses SF #1916032).
2011-12-27 15:43:14 -05:00
Jeffrey C Honig
40f1ca7c6c (mh-yank-cur-msg): Replace usage of set-buffer with
with-current-buffer in mh-yang-cur-msg, semantics changed in emacs
23 and we do not want to use set-buffer unless we actually want to
change the buffer the user is looking at (cloases SF #2830504).
2011-12-27 14:43:23 -05:00
Bill Wohler
c6134398c6 * mh-e.el (mh-invisible-header-fields-internal): Add X-AnalysisOut,
X-Authentication-Info, X-Auto-Response-Suppress, X-Bayes-Prob, X-Cam-,
X-CanIt-Geo, X-Completed, X-Facebook, X-Forwarded-, X-Generated-By,
X-Headers-End, X-IEEE-UCE, X-Jira-Fingerprint, X-Junkmail-,
X-Launchpad-, X-MXL-Hash, X-Notification-, X-Notifications,
X-Oracle-Calendar. Replace X-DCC-Usenix-Metrics with X-DCC- (addresses
SF #1916032).
2011-12-27 11:22:23 -08:00
Jeffrey C Honig
0e3a7f86fc (mh-show-folder-map): Add missing key binding for mh-show-pack-folder
(closes SF #3466086).
2011-12-27 12:13:50 -05:00
Bill Wohler
24e0a9b534 Update release notes to reflect a fixed, reported bug.
Merge from trunk.
2011-12-26 21:00:38 -08:00
Bill Wohler
27f03d6c15 Update release notes to reflect a fixed, reported bug. 2011-12-26 20:56:26 -08:00
Jan Djärv
93d5ca1fbb * 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
2011-12-26 19:00:38 +01:00
Chong Yidong
c40a7de781 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.
2011-12-26 18:36:41 +08:00
Bill Wohler
7d15e878f8 * mh-e.el (Version, mh-version): Add +bzr to version. 2011-12-25 14:41:17 -08:00
Chong Yidong
3d992aa070 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.
2011-12-25 22:16:00 +08:00
Chong Yidong
2170cb536d 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.
2011-12-25 18:46:49 +08:00
Andreas Schwab
28796b3a4a * etags.c (C_entries): Properly skip over string and character
constants inside brackets.  (Bug#10357)
2011-12-25 10:55:37 +01:00
Andreas Schwab
ca22b78599 * callint.c (Fcall_interactively): Don't truncate prompt string. 2011-12-25 10:06:42 +01:00
Alan Mackenzie
be8b11bb32 Introduce a mechanism to widen the region used in context font locking.
Use this to protect declarations from losing their contexts.
2011-12-24 19:32:31 +00:00
Eli Zaretskii
3ba1a2ad82 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.
2011-12-24 21:24:10 +02:00
Juri Linkov
341cf6ac7a * lisp/window.el (window--state-get-1): Set FORCE' arg of mark' to t.
Fixes: debbugs:10348
2011-12-24 21:16:53 +02:00
Eli Zaretskii
d048e1e6bd 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).
2011-12-23 16:51:51 +02:00
Michael Albinus
bffcee0ae3 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
existence of source file.  (Bug#10325)
2011-12-23 15:31:35 +01:00
Juanma Barranquero
9022ae07ee Fix bug#10354.
* doc/lispref/variables.texi (Variables with Restricted Values):
  Change reference to variable.
2011-12-23 14:14:12 +01:00
Alan Mackenzie
cb5e207c74 Fix unstable fontification inside templates. 2011-12-23 11:48:54 +00:00
Juanma Barranquero
60ff536cc3 lisp/desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353). 2011-12-23 01:44:27 +01:00
Juri Linkov
db7ab02fe1 Small doc fixes. 2011-12-23 01:30:10 +02:00
Juri Linkov
1c4757d696 * progmodes/grep.el (rgrep): Fix docstring.
Fixes: debbugs:10185
2011-12-23 00:32:46 +02:00
Jan Djärv
5ccaba1fdb * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc. 2011-12-22 14:58:40 +01:00
Chong Yidong
d031f2c7b7 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix. 2011-12-22 18:16:45 +08:00
Chong Yidong
2785d02431 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.
2011-12-22 18:14:41 +08:00
Eli Zaretskii
0ab393996c doc/emacs/building.texi (Debugger Operation): Fix a typo in "@end iftex". 2011-12-22 05:56:49 +02:00
Drew Adams
bace743a4a * files.el (file-remote-p): Fix docstring. (Bug#10319) 2011-12-21 19:33:38 +01:00
Bastien Guerry
5da6dcc815 text.texi: add a section about Org Mode.
This section describes general concepts behind Org Mode
and redirects to the Org Manual when necessary.
2011-12-21 15:02:38 +01:00
Jérémy Compostella
728a1f2bbb * lisp/battery.el (battery-linux-sysfs): Add missing parameters from acpi. 2011-12-21 07:20:40 -05:00
Ted Zlatanov
0d373f73bc * progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support. 2011-12-21 06:30:00 -05:00
Paul Eggert
6196cffecf Spelling fixes. 2011-12-21 01:58:39 -08:00
Chong Yidong
d3098e1ec6 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.
2011-12-21 16:39:32 +08:00
Jan Djärv
204ee57fa0 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].
2011-12-21 09:04:19 +01:00
Chong Yidong
bc86f573ee * vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg. 2011-12-21 15:46:49 +08:00
Jan Djärv
678f4426c3 Attribute Aquamacs code to David Reitter. 2011-12-21 07:37:49 +01:00
Alan Mackenzie
47d42d81af 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.
2011-12-20 16:00:47 +00:00
Martin Rudalics
d45ba96b43 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.
2011-12-20 08:45:20 +01:00
Chong Yidong
2edef1a0a6 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.
2011-12-20 11:00:10 +08:00
Juanma Barranquero
1154d12e5b Fix typos. 2011-12-19 16:46:50 +01:00
Sam Steingold
9954ec0dae * lisp/cedet/semantic/edit.el (semantic-edits-incremental-parser):
Add the autoload cookie, necessary for JDEE.
2011-12-19 10:15:11 -05:00
Glenn Morris
59ff373bd6 Auto-commit of loaddefs files. 2011-12-19 06:21:17 -05:00
Chong Yidong
bc859d5f3e 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.
2011-12-19 15:25:46 +08:00
Chong Yidong
a6198c9097 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.
2011-12-19 15:00:16 +08:00
Vincent Belaïche
34c5fb55c8 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. 2011-12-19 07:30:36 +01:00
Paul Eggert
99d990817c Spelling fixes. 2011-12-18 22:21:24 -08:00
Jan Djärv
3771cb1735 Fix spelling AquaEmacs => Aquamacs 2011-12-18 15:53:01 +01:00
Jan Djärv
5fecd5fce0 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
2011-12-18 15:50:19 +01:00
Jan Djärv
c803b2b767 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.
2011-12-18 14:49:38 +01:00
Ken Brown
e1b01a3a53 * src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
GID is unknown (Bug#10257).
2011-12-17 12:00:49 -05:00