]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoBack-port 2010-09-17T21:34:45Z!eliz@gnu.org from the trunk, to resolve bug #7452.
Eli Zaretskii [Mon, 22 Nov 2010 18:09:29 +0000 (20:09 +0200)]
Back-port 2010-09-17T21:34:45Z!eliz@gnu.org from the trunk, to resolve bug #7452.

 w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
 of w32api >= 3.15.

14 years agobugtracker: REALLY correct locations of bzr *.conf files.
Eli Zaretskii [Mon, 22 Nov 2010 03:52:49 +0000 (05:52 +0200)]
bugtracker: REALLY correct locations of bzr *.conf files.

14 years agoFix image cache marking bug (Bug#6301).
YAMAMOTO Mitsuharu [Mon, 22 Nov 2010 00:39:42 +0000 (19:39 -0500)]
Fix image cache marking bug (Bug#6301).
* src/alloc.c (mark_terminals): Ensure that the image cache is marked
even if the terminal object was marked earlier (Bug#6301).

14 years ago* etc/HELLO: Add ancient Greek (Bug#7418).
Ulrich Mueller [Sun, 21 Nov 2010 19:03:51 +0000 (14:03 -0500)]
* etc/HELLO: Add ancient Greek (Bug#7418).

14 years ago* editfns.c (Fbyte_to_string): Signal an error if arg is not a byte.
Chong Yidong [Sun, 21 Nov 2010 18:16:19 +0000 (13:16 -0500)]
* editfns.c (Fbyte_to_string): Signal an error if arg is not a byte.

14 years agoDocument byte-to-string in Lisp manual.
Chong Yidong [Sun, 21 Nov 2010 18:07:47 +0000 (13:07 -0500)]
Document byte-to-string in Lisp manual.

* objects.texi (Symbol Type):
* text.texi (Near Point):
* help.texi (Help Functions):
* functions.texi (Mapping Functions): Use string instead of
char-to-string in examples.

* nonascii.texi (Converting Representations): Document
byte-to-string.

* strings.texi (Creating Strings): Don't mention semi-obsolete
function char-to-string.
(String Conversion): Shorten discussion of semi-obsolete function
string-to-char.  Link to Converting Representations.

14 years agobugtracker: Correct locations of bzr *.conf files.
Eli Zaretskii [Sun, 21 Nov 2010 17:59:08 +0000 (19:59 +0200)]
bugtracker: Correct locations of bzr *.conf files.

14 years agoBackport fixes for Bug#5390 and Bug#5694 from trunk.
Chong Yidong [Sun, 21 Nov 2010 17:04:43 +0000 (12:04 -0500)]
Backport fixes for Bug#5390 and Bug#5694 from trunk.

* progmodes/python.el: Add Ipython support (Bug#5390).
(python-shell-prompt-alist)
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell): Require
ansi-color.  Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-check-comint-prompt)
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).

14 years agoMake the sys.path remove in Python mode customizable (Bug#7454).
Chong Yidong [Sun, 21 Nov 2010 16:52:05 +0000 (11:52 -0500)]
Make the sys.path remove in Python mode customizable (Bug#7454).
* progmodes/python.el (run-python): Doc fix.
(python-keep-current-directory-in-path): New var (Bug#7454).

14 years ago* maintaining.texi (Version Control Systems): Fix repeated sentence.
Chong Yidong [Sun, 21 Nov 2010 16:05:27 +0000 (11:05 -0500)]
* maintaining.texi (Version Control Systems): Fix repeated sentence.
Suggested by Štěpán Němec.

14 years agopython.el comment.
Glenn Morris [Sun, 21 Nov 2010 02:19:39 +0000 (18:19 -0800)]
python.el comment.

14 years agoDocument VC headers and other VC changes.
Chong Yidong [Sat, 20 Nov 2010 23:16:10 +0000 (18:16 -0500)]
Document VC headers and other VC changes.

* maintaining.texi (Version Control): Say "commit", not "check in".
(Version Control Systems): Simplify descriptions.
(VCS Merging, VCS Changesets, VCS Repositories): New nodes, split from
VCS Concepts.
(VC Mode Line): Update example.
(Old Revisions): Document revert-buffer for vc-diff.
(Log Buffer): Promote to a subsection.  Document header lines.

* emacs.texi (Top): Update node listing.

14 years agoPrompt before running print commands.
Chong Yidong [Sat, 20 Nov 2010 20:23:26 +0000 (15:23 -0500)]
Prompt before running print commands.
* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
Prompt user before actually printing.

14 years agoDocument some Emacs 23.3 changes in manuals.
Chong Yidong [Sat, 20 Nov 2010 19:52:20 +0000 (14:52 -0500)]
Document some Emacs 23.3 changes in manuals.

* doc/emacs/macos.texi (Mac / GNUstep Basics): Document
ns-right-alternate-modifier.

* doc/lispref/numbers.texi (Float Basics): Document float-e and float-pi.

* doc/lispref/symbols.texi (Creating Symbols): Using unintern without an
obarray arg is now obsolete.

* doc/lispref/text.texi (Kill Functions, Kill Functions)
(Low-Level Kill Ring, Low-Level Kill Ring): Remove obsolete
YANK-HANDLER args.

* doc/lispref/variables.texi (Defining Variables): Change "pi" example to
"float-pi".

14 years agoFix bug 7425.
Jan Djärv [Sat, 20 Nov 2010 13:50:55 +0000 (14:50 +0100)]
Fix bug 7425.

NOTE: When merging to trunk: xg_height_changed is xg_height_or_width_changed
      in trunk.

* src/gtkutil.c (menubar_map_cb): New function.
(xg_update_frame_menubar): Connect signal map to menubar_map_cb.
Use 23 as menubar height if 0. (Bug#7425).

14 years ago* pop3.el (pop3-open-server): Read server greeting before starting TLS negotiation.
Yuri Karaban [Fri, 19 Nov 2010 16:25:09 +0000 (11:25 -0500)]
* pop3.el (pop3-open-server): Read server greeting before starting TLS negotiation.

14 years ago* comint.el (comint-kill-region): Fix last change.
Stefan Monnier [Thu, 18 Nov 2010 03:44:35 +0000 (22:44 -0500)]
* comint.el (comint-kill-region): Fix last change.

14 years agoMake the yank-handler argument obsolete.
Stefan Monnier [Thu, 18 Nov 2010 02:09:41 +0000 (21:09 -0500)]
Make the yank-handler argument obsolete.
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument obsolete.

14 years ago* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
Stefan Monnier [Wed, 17 Nov 2010 19:59:16 +0000 (14:59 -0500)]
* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
that are both openers (resp. closers) and something else.
(smie-grammar): Loosen definition of valid values.
(smie-next-sexp, smie-down-list, smie-blink-matching-open)
(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
(smie-indent-after-keyword): Adjust users.
(smie-indent-keyword): Don't indent empty lines.

14 years ago* vc-hg.el (vc-hg-program): New var.
Stefan Monnier [Wed, 17 Nov 2010 14:34:28 +0000 (09:34 -0500)]
* vc-hg.el (vc-hg-program): New var.
Suggested by Norman Gray <norman@astro.gla.ac.uk>.
(vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.

14 years agoautoload.el fix for bug#7414.
Glenn Morris [Wed, 17 Nov 2010 03:47:16 +0000 (19:47 -0800)]
autoload.el fix for bug#7414.

* lisp/emacs-lisp/autoload.el (autoload-find-destination): The
function coding-system-eol-type may return non-numeric values.

14 years ago* lisp/server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
Ulrich Mueller [Tue, 16 Nov 2010 20:09:47 +0000 (15:09 -0500)]
* lisp/server.el (server-force-stop): Ensure the server is stopped (Bug#7409).

14 years agoFix link error on Fedora 14: newer GConf don't use g_type_*.
Jan D [Sun, 14 Nov 2010 11:47:31 +0000 (12:47 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.

Forgot to save ChangeLog for previous change.

14 years agoFix link error on Fedora 14: newer GConf don't use g_type_*.
Jan D [Sun, 14 Nov 2010 11:46:00 +0000 (12:46 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.

* configure.in (HAVE_GCONF): Check for g_type_init if GConf is found.

* src/config.in (HAVE_G_TYPE_INIT): New symbol.

* src/xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.

14 years agoDocument 2010-05-10T02:20:00Z!rgm@gnu.org as an incompatible change in posn-col-row.
Eli Zaretskii [Sat, 13 Nov 2010 21:59:28 +0000 (23:59 +0200)]
Document 2010-05-10T02:20:00Z!rgm@gnu.org as an incompatible change in posn-col-row.

14 years agosubr.el (posn-col-row): Pay attention to header line. (Bug#7390)
Eli Zaretskii [Sat, 13 Nov 2010 21:07:58 +0000 (23:07 +0200)]
subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)

14 years agoFix picture-mouse-set-point calculation (Bug#7390).
Chong Yidong [Sat, 13 Nov 2010 21:01:10 +0000 (16:01 -0500)]
Fix picture-mouse-set-point calculation (Bug#7390).
* lisp/textmodes/picture.el (picture-mouse-set-point): Don't use
posn-col-row; explicitly compute the motion based on the posn at
the window-start (Bug#7390).

14 years agoBackport fix for Bug#6170 from trunk.
Dan Nicolaescu [Sat, 13 Nov 2010 17:22:52 +0000 (12:22 -0500)]
Backport fix for Bug#6170 from trunk.
Fix alloca definition when using gcc on non-gnu systems.
* configure.in: Use the code sequence indicated by "info autoconf"
for alloca (bug#6170).

14 years ago* net/tramp.el (tramp-remote-coding-commands): Add an alternative
Michael Albinus [Sat, 13 Nov 2010 10:08:21 +0000 (11:08 +0100)]
* net/tramp.el (tramp-remote-coding-commands): Add an alternative
using "base64 -d -i".  This is needed for older base64 versions
from GNU coreutils.  Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.

This must not be merged with the trunk.

14 years ago* lisp/novice.el (disabled-command-function): Fix 2009-11-15 change. (Bug#7384)
Glenn Morris [Sat, 13 Nov 2010 09:16:18 +0000 (01:16 -0800)]
* lisp/novice.el (disabled-command-function): Fix 2009-11-15 change.  (Bug#7384)

14 years agocustomize.texi (Composite Types): Lower-case index entry.
Eli Zaretskii [Fri, 12 Nov 2010 17:03:57 +0000 (19:03 +0200)]
customize.texi (Composite Types): Lower-case index entry.

14 years agoThe `fixes' attribute does show in `bzr log'.
Eli Zaretskii [Fri, 12 Nov 2010 16:42:12 +0000 (18:42 +0200)]
The `fixes' attribute does show in `bzr log'.

14 years agoFix bug #7346: document load-file-name.
Eli Zaretskii [Fri, 12 Nov 2010 16:35:35 +0000 (18:35 +0200)]
Fix bug #7346: document load-file-name.

 src/lread.c (Fload): Mention `load-in-progress' and `load-file-name'.
 doc/lispref/loading.texi (How Programs Do Loading): Document `load-file-name'.

14 years agoExpand and clarify the description of bugtracker setting for bzr.
Eli Zaretskii [Fri, 12 Nov 2010 08:37:27 +0000 (10:37 +0200)]
Expand and clarify the description of bugtracker setting for bzr.

14 years agodiary-iso-date-forms fix for bug#7377.
Glenn Morris [Fri, 12 Nov 2010 03:16:20 +0000 (19:16 -0800)]
diary-iso-date-forms fix for bug#7377.

* lisp/calendar/calendar.el (diary-iso-date-forms): Make elements
mutually exclusive.

14 years ago* lisp/emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
Stefan Monnier [Fri, 12 Nov 2010 01:33:28 +0000 (20:33 -0500)]
* lisp/emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
when filling the remaining "unconstrained" values.

14 years ago* lisp/files.el (safe-local-variable-p): Gracefully handle errors.
Stefan Monnier [Thu, 11 Nov 2010 22:19:01 +0000 (17:19 -0500)]
* lisp/files.el (safe-local-variable-p): Gracefully handle errors.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
safety predicate.

14 years ago* lisp/emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
Stefan Monnier [Thu, 11 Nov 2010 05:08:25 +0000 (00:08 -0500)]
* lisp/emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
Use smie-indent-virtual when indenting relative to an opener.
(smie-rule-separator): Use smie-rule-parent.
(smie-indent-keyword): Consult rules, even for openers at bol.
(smie-indent-comment-close): Try to align closer's content.

14 years agoFix some ls-lisp oddness.
Glenn Morris [Thu, 11 Nov 2010 03:48:46 +0000 (19:48 -0800)]
Fix some ls-lisp oddness.
* lisp/ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.

14 years agoDocument non-support for MSVC versions later than 8.0.
Eli Zaretskii [Wed, 10 Nov 2010 13:39:17 +0000 (15:39 +0200)]
Document non-support for MSVC versions later than 8.0.

14 years ago* doc/misc/edt.texi: Remove information about Emacs 19.
Glenn Morris [Wed, 10 Nov 2010 08:48:15 +0000 (00:48 -0800)]
* doc/misc/edt.texi: Remove information about Emacs 19.

14 years ago* doc/lispref/text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.
Glenn Morris [Wed, 10 Nov 2010 08:42:42 +0000 (00:42 -0800)]
* doc/lispref/text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.

14 years agoAdd fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 08:35:27 +0000 (17:35 +0900)]
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).

14 years agoAdd fall-back definition of _CS_DARWIN_USER_TEMP_DIR.
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 08:33:14 +0000 (17:33 +0900)]
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR.

14 years ago* lisp/printing.el (pr-menu-bind): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:55:15 +0000 (23:55 -0800)]
* lisp/printing.el (pr-menu-bind): Doc fix.

14 years ago* lisp/speedbar.el (speedbar-toggle-images): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:52:12 +0000 (23:52 -0800)]
* lisp/speedbar.el (speedbar-toggle-images): Doc fix.

14 years agomouse-sel.el comments.
Glenn Morris [Wed, 10 Nov 2010 07:49:24 +0000 (23:49 -0800)]
mouse-sel.el comments.

14 years ago* lisp/progmodes/python.el (python-shell): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:46:01 +0000 (23:46 -0800)]
* lisp/progmodes/python.el (python-shell): Doc fix.

14 years agowid-edit doc fixes.
Glenn Morris [Wed, 10 Nov 2010 07:44:30 +0000 (23:44 -0800)]
wid-edit doc fixes.

* lisp/wid-edit.el (widget-field-use-before-change)
(widget-use-overlay-change): Doc fixes.

14 years agoComments related to `bzr commit --fixes'.
Glenn Morris [Wed, 10 Nov 2010 04:50:31 +0000 (20:50 -0800)]
Comments related to `bzr commit --fixes'.

14 years agoFix 2010-05-05T22:14:15Z!lekktu@gmail.com.
Eli Zaretskii [Tue, 9 Nov 2010 18:36:21 +0000 (20:36 +0200)]
Fix 2010-05-05T22:14:15Z!lekktu@gmail.com.

 keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
 (kbd_buffer_store_event_hold, kbd_buffer_get_event)
 (tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
 subprocesses.  Use buffer_free only ifdef subprocesses.
 process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
 the subprocesses version, not in the non-subprocesses one.

14 years agoFix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.
Eli Zaretskii [Tue, 9 Nov 2010 18:28:38 +0000 (20:28 +0200)]
Fix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.

 src/Makefile.in: Don't use ## comment, it breaks the MSDOS build.

14 years agoxfns.c (x_real_positions): Fix declaration-after-statement problem.
Eli Zaretskii [Tue, 9 Nov 2010 13:55:52 +0000 (15:55 +0200)]
xfns.c (x_real_positions): Fix declaration-after-statement problem.

14 years ago* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
Glenn Morris [Tue, 9 Nov 2010 07:41:57 +0000 (23:41 -0800)]
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.

14 years agoChangeLog fix.
Glenn Morris [Tue, 9 Nov 2010 04:39:11 +0000 (20:39 -0800)]
ChangeLog fix.

14 years agoBump version to 23.2.90. emacs-pretest-23.2.90
Chong Yidong [Tue, 9 Nov 2010 02:53:18 +0000 (21:53 -0500)]
Bump version to 23.2.90.
Regenerate AUTHORS, configure, and ldefs-boot.el.

14 years ago* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
Stefan Monnier [Mon, 8 Nov 2010 21:07:41 +0000 (16:07 -0500)]
* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.

14 years ago* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
Stefan Monnier [Mon, 8 Nov 2010 20:53:42 +0000 (15:53 -0500)]
* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field.

Fixes: debbugs:7211
14 years ago* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Stefan Monnier [Mon, 8 Nov 2010 18:56:10 +0000 (13:56 -0500)]
* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.

Fixes: debbugs:7322
14 years ago* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
Richard Levitte [Mon, 8 Nov 2010 18:42:24 +0000 (13:42 -0500)]
* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.

14 years ago* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.
Stefan Monnier [Mon, 8 Nov 2010 15:45:49 +0000 (10:45 -0500)]
* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.

14 years ago* lisp/emacs-lisp/smie.el: New package.
Stefan Monnier [Sun, 7 Nov 2010 15:52:33 +0000 (10:52 -0500)]
* lisp/emacs-lisp/smie.el: New package.

14 years agoFix misleading Changelog entry.
Michael Albinus [Sun, 7 Nov 2010 07:02:15 +0000 (08:02 +0100)]
Fix misleading Changelog entry.

14 years agoFix typo.
Michael Albinus [Sat, 6 Nov 2010 14:05:47 +0000 (15:05 +0100)]
Fix typo.

14 years ago* files.el (backup-by-copying-when-mismatch): Make it a buffer local
Michael Albinus [Sat, 6 Nov 2010 14:04:23 +0000 (15:04 +0100)]
* files.el (backup-by-copying-when-mismatch): Make it a buffer local
variable (permanent-local).

* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`permanent-local' property for `(backup-by-copying-when-mismatch'.

14 years agoFix bug #7300.
Eli Zaretskii [Sat, 6 Nov 2010 10:23:33 +0000 (12:23 +0200)]
Fix bug #7300.

 msdog.texi (Windows HOME): Add information regarding startup
 directory when invoking Emacs from a desktop shortcut.

14 years agoBack-port from trunk the fix for bug #6294.
Eli Zaretskii [Sat, 6 Nov 2010 10:08:33 +0000 (12:08 +0200)]
Back-port from trunk the fix for bug #6294.

 ls-lisp.el (ls-lisp-classify-file): New function.
 (ls-lisp-insert-directory): Call it if switches include -F.
 (ls-lisp-classify): Call ls-lisp-classify-file.
 (insert-directory): Remove blanks from switches.

14 years agoFix bug #7285.
Eli Zaretskii [Sat, 6 Nov 2010 09:57:24 +0000 (11:57 +0200)]
Fix bug #7285.

 ls-lisp.el (insert-directory): Doc fix.

14 years ago* progmodes/verilog-mode.el (verilog-insert-one-definition)
Wilson Snyder [Sat, 6 Nov 2010 07:54:19 +0000 (00:54 -0700)]
* progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.

14 years ago* trampver.texi: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:55:06 +0000 (21:55 +0100)]
* trampver.texi: Update release number.

This shall not be merged into the trunk.

14 years ago* net/trampver.el: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:52:50 +0000 (21:52 +0100)]
* net/trampver.el: Update release number.

This shall not be merged into the trunk.

14 years agoFix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
Chong Yidong [Fri, 5 Nov 2010 18:28:19 +0000 (14:28 -0400)]
Fix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
* image.c (free_image): Don't garbage the frame here, since this
function can be called while redisplaying (Bug#7210).
(uncache_image): Garbage the frame here (Bug#6426).

14 years agoRegenerate configure.
Chong Yidong [Thu, 4 Nov 2010 20:34:49 +0000 (16:34 -0400)]
Regenerate configure.

14 years agoBackport fix for Bug#5723 from trunk.
Chong Yidong [Thu, 4 Nov 2010 19:56:50 +0000 (15:56 -0400)]
Backport fix for Bug#5723 from trunk.

14 years agoBackport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk
Chong Yidong [Thu, 4 Nov 2010 19:54:28 +0000 (15:54 -0400)]
Backport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk

14 years agoBackport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:54:14 +0000 (15:54 -0400)]
Backport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk

14 years agoBackport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk
Helmut Eller [Thu, 4 Nov 2010 19:53:28 +0000 (15:53 -0400)]
Backport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk

14 years agoBackport 2010-05-27T04:24:30Z!handa@etlken from trunk
Kenichi Handa [Thu, 4 Nov 2010 19:46:30 +0000 (15:46 -0400)]
Backport 2010-05-27T04:24:30Z!handa@etlken from trunk

14 years agoBackport fix for Bug#2423 from trunk.
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:39:47 +0000 (15:39 -0400)]
Backport fix for Bug#2423 from trunk.

* dispextern.h (TRY_WINDOW_CHECK_MARGINS)
(TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.

* xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
TRY_WINDOW_CHECK_MARGINS.

* xfns.c (Fx_show_tip): Undo last change.  Call try_window with
TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).

14 years agoBackport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk
Chong Yidong [Thu, 4 Nov 2010 19:35:32 +0000 (15:35 -0400)]
Backport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk

14 years agoBackport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk
Chong Yidong [Thu, 4 Nov 2010 19:34:50 +0000 (15:34 -0400)]
Backport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk

14 years agoBackport from trunk.
Chong Yidong [Thu, 4 Nov 2010 19:34:11 +0000 (15:34 -0400)]
Backport from trunk.

14 years agoBackport Bug#6765 fix from trunk.
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:27:46 +0000 (15:27 -0400)]
Backport Bug#6765 fix from trunk.

* mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
beginning of the string.  Use `string-match-p'.  (Bug#6765)

14 years ago* configure.in: Don't write a warning for D-Bus anymore.
Michael Albinus [Thu, 4 Nov 2010 16:00:35 +0000 (17:00 +0100)]
* configure.in: Don't write a warning for D-Bus anymore.

14 years ago* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
Jan Djärv [Thu, 4 Nov 2010 12:37:17 +0000 (13:37 +0100)]
* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
parent is the root window.  Check this after traversing window tree.

14 years agoRemove debug code.
Jan Djärv [Thu, 4 Nov 2010 12:17:46 +0000 (13:17 +0100)]
Remove debug code.

14 years agoGet window position by reading _NET_FRAME_EXTENTS (Bug#5721).
Jan Djärv [Thu, 4 Nov 2010 08:41:25 +0000 (09:41 +0100)]
Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).

* src/xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
before traversing window tree (Bug#5721).

* src/xterm.c (x_term_init): Initialize Xatom_net_frame_extents.

* src/xterm.h (struct x_display_info): Xatom_net_frame_extents is new.

14 years agocalc.texi: Update Emacs version to 23.3.
Jay Belanger [Wed, 3 Nov 2010 23:19:23 +0000 (18:19 -0500)]
calc.texi:  Update Emacs version to 23.3.

14 years agoFix for Bug#5655, backported from trunk.
Glenn Morris [Wed, 3 Nov 2010 18:55:19 +0000 (14:55 -0400)]
Fix for Bug#5655, backported from trunk.

* configure.in (CRT_DIR): New output variable.
(--with-crt-dir): New option.  (Bug#5655)
(HAVE_LIB64_DIR): Remove.

* src/Makefile.in (CRT_DIR): New variable, set by configure.
* src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)

14 years agoBackport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts.
Jan Djärv [Mon, 1 Nov 2010 11:30:33 +0000 (12:30 +0100)]
Backport fix for Bug#6571 from trunk.  NOTE: May cause merge conflicts.

* src/keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).

* src/process.c (kbd_is_on_hold): New variable.
(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
New functions.
(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
select on empty input mask.
(init_process): Initialize kbd_is_on_hold to 0.

* src/process.h (hold_keyboard_input, unhold_keyboard_input)
(kbd_on_hold_p): Declare.

14 years ago* lisp/locate.el (locate, locate-mode): Doc fixes.
Glenn Morris [Mon, 1 Nov 2010 06:55:49 +0000 (23:55 -0700)]
* lisp/locate.el (locate, locate-mode): Doc fixes.

14 years agoPrevent server-mode from issuing a prompt in kill-emacs-hook.
Chong Yidong [Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)]
Prevent server-mode from issuing a prompt in kill-emacs-hook.
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.

14 years agoBackport VC improvements from trunk.
Chong Yidong [Mon, 1 Nov 2010 03:13:42 +0000 (23:13 -0400)]
Backport VC improvements from trunk.

* vc/log-edit.el (log-edit-rewrite-fixes): New var.
(log-edit-author): New dynamic var.
(log-edit-changelog-ours-p, log-edit-insert-changelog-entries):
Use it to return the author if different from committer.
(log-edit-insert-changelog): Use them to add Author: and Fixes headers.

* vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.

* vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
(vc-root-diff, vc-print-root-log, vc-log-incoming)
(vc-log-outgoing): Use it.
(vc-diff-internal): Set diff-vc-backend.

* vc/diff-mode.el (diff-vc-backend): New var.

* vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
buffer-locally to lambda that re-runs the vc diff command.
(Bug#6447)

* vc/log-view.el (log-view-mode-map): Bind revert-buffer.

Make 'g' (AKA revert-buffer) rerun VC log, log-incoming and
log-outgoing commands.
* vc/vc.el (vc-log-internal-common): Add a new argument and use it
to create a buffer local revert-buffer-function variable.
(vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
revert-buffer-function lambda.

Improve VC create/retrieve tag/branch.
* vc.el (vc-create-tag): Do not read the directory name for VCs
with repository revision granularity.  Adjust the tag/branch
prompt.  Reset VC properties.
(vc-retrieve-tag): Do not read the directory name for VCs
with repository revision granularity.  Reset VC properties.

Add optional support for resetting VC properties.
* vc-dispatcher.el (vc-resynch-window): Add new optional argument,
call vc-file-clearprops when true.
(vc-resynch-buffer): Add new optional argument, pass it down.
(vc-resynch-buffers-in-directory): Likewise.

Improve support for special markup in the VC commit message.
* vc-mtn.el (vc-mtn-checkin): Support Author: and Date: markup.
* vc-hg.el (vc-hg-checkin): Add support for Date:.
* vc-git.el (vc-git-checkin):
* vc-bzr.el (vc-bzr-checkin): Likewise.

Add support for vc-log-incoming, improve vc-log-outgoing for Git.
* vc-git.el (vc-git-log-view-mode): Fix font lock for
incoming/outgoing logs.
(vc-git-log-outgoing, vc-git-log-incoming): New functions.

* vc-git.el (vc-git-log-outgoing): Use the same format as the
short log.
(vc-git-log-incoming): Likewise.  Run "git fetch" before the log
command

Add bindings for vc-log-incoming and vc-log-outgoing.
* vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
and vc-log-outgoing.
* vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
and vc-log-outgoing.

Improve state updating for VC tag commands.
* vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
to update the state of all buffers in the directory.

* vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)

* vc.el (vc-checkin, vc-modify-change-comment):
Adjust to new vc-start/finish-logentry.
(vc-find-conflicted-file): New command.
(vc-transfer-file): Adjust to new vc-checkin.
(vc-next-action): Improve scoping.

* vc-git.el (vc-git-checkin): Use log-edit-extract-headers.
(vc-git-commits-coding-system): Rename from git-commits-coding-system.

* vc-dispatcher.el (vc-log-edit): Shorten names for
log-edit-show-files.

* vc-bzr.el (vc-bzr-checkin): Use log-edit-extract-headers.
(vc-bzr-conflicted-files): New function.

* log-edit.el (log-edit-summary, log-edit-header)
(log-edit-unknown-header): New faces.
(log-edit-headers-alist): New var.
(log-edit-header-contents-regexp): New const.
(log-edit-match-to-eoh): New function.
(log-edit-font-lock-keywords): Use them.
(log-edit): Insert a "Summary:" header as default.
(log-edit-mode): Mark font-lock rules as case-insensitive.
(log-edit-done): Cleanup headers.
(log-edit-extract-headers): New function to replace it.

* vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with
the windows/frames.

* vc-bzr.el (vc-bzr-shelve-apply): Don't use *vc-bzr-shelve*.

* vc-dir.el (vc-dir-kill-line): New command.
(vc-dir-mode-map): Bind it to C-k.
(vc-dir-headers): Abbreviate the working dir.

* vc-git.el (vc-git-revision-table): Include remote branches.

New VC methods: vc-log-incoming and vc-log-outgoing.
* vc.el (vc-print-log-setup-buttons, vc-log-internal-common)
(vc-incoming-outgoing-internal, vc-log-incoming, vc-log-outgoing):
New functions.
(vc-print-log-internal): Just call vc-log-internal-common.
(vc-log-view-type): New permanent local variable.

* vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.

* vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
of the dynamic bound vc-short-log.
(vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.

* vc-git.el (vc-git-log-outgoing): New function.
(vc-git-log-view-mode): Use vc-log-view-type instead
of the dynamic bound vc-short-log.

* vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead of
the dynamic bound vc-short-log.  Highlight the tag.
(vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
(vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
(vc-hg-incoming-mode): Remove.
(vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.

Fix default-directory for vc-root-diff.
* vc.el (vc-root-diff): Bind default-directory to the root
directory for the diff command.

* vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
`vc-hg-command' with a list of flags.

* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
log-edit-before-checkin-process.

* vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.

* vc-bzr.el, vc-hg.el (log-edit-mode): Declare.

* vc-dispatcher.el (vc-start-logentry): Doc fix.
(log-view-process-buffer, log-edit-extra-flags): Declare.

Add special markup processing for commit logs.
* log-edit.el (log-edit): Add new argument MODE.  Use that mode
when non-nil instead of the log-view-mode.

* vc.el (vc-default-log-edit-mode): New function.

* vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
log-edit.

Support for shelving snapshots and for showing shelves.
* vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
(vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
New functions.
(vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
(vc-bzr-extra-menu-map): Map them.

14 years agoMark tiny change.
Glenn Morris [Mon, 1 Nov 2010 02:30:15 +0000 (19:30 -0700)]
Mark tiny change.

14 years agoMake Emacs compile with clang.
Elias Pipping [Mon, 1 Nov 2010 02:01:43 +0000 (22:01 -0400)]
Make Emacs compile with clang.
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.

Fixes: debbugs:7309
14 years agoPrint informative error message when aborting on GTK disconnect.
Chong Yidong [Sun, 31 Oct 2010 03:33:56 +0000 (23:33 -0400)]
Print informative error message when aborting on GTK disconnect.

* xterm.c (x_connection_closed): Print informative error message
when aborting on GTK.  This requires using shut_down_emacs
directly instead of Fkill_emacs.

14 years ago* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.
Glenn Morris [Sun, 31 Oct 2010 02:16:20 +0000 (19:16 -0700)]
* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.

14 years agoTiny MH-E doc fixes.
Glenn Morris [Sat, 30 Oct 2010 21:17:59 +0000 (14:17 -0700)]
Tiny MH-E doc fixes.

* doc/misc/mh-e.texi (Preface, From Bill Wohler): Change 23 to past tense.
* etc/MH-E-NEWS: Change 23 to past tense.

14 years ago* net/tramp.el (tramp-handle-insert-file-contents): For root,
Michael Albinus [Sat, 30 Oct 2010 16:28:17 +0000 (18:28 +0200)]
* net/tramp.el (tramp-handle-insert-file-contents): For root,
preserve owner and group when editing files.  (Bug#7289)

Please contact me, if you have problems syncing with the trunk.

14 years agoReplace some inappropriate uses of toggle-read-only. (Bug#7292)
Glenn Morris [Fri, 29 Oct 2010 07:48:10 +0000 (00:48 -0700)]
Replace some inappropriate uses of toggle-read-only.  (Bug#7292)

* lisp/speedbar.el (speedbar-mode):
* lisp/play/fortune.el (fortune-in-buffer, fortune):
* lisp/play/gomoku.el (gomoku-mode):
* lisp/play/landmark.el (lm-mode):
* lisp/textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
* lisp/cedet/mode-local.el (mode-local-augment-function-help):
* lisp/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
* lisp/semantic/symref/list.el (semantic-symref-results-dump)
(semantic-symref-rb-toggle-expand-tag):
Replace inappropriate uses of toggle-read-only.