1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

94324 commits

Author SHA1 Message Date
Glenn Morris
bc1d5cdfd4 * lisp/progmodes/python.el (python-shell): Doc fix. 2010-11-09 23:46:01 -08:00
Glenn Morris
c790cad46d wid-edit doc fixes.
* lisp/wid-edit.el (widget-field-use-before-change)
(widget-use-overlay-change): Doc fixes.
2010-11-09 23:44:30 -08:00
Glenn Morris
de4708cbd8 Comments related to `bzr commit --fixes'. 2010-11-09 20:50:31 -08:00
Eli Zaretskii
86520d8c17 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.
2010-11-09 20:36:21 +02:00
Eli Zaretskii
794a4b6d17 Fix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.
src/Makefile.in: Don't use ## comment, it breaks the MSDOS build.
2010-11-09 20:28:38 +02:00
Eli Zaretskii
c00980655b xfns.c (x_real_positions): Fix declaration-after-statement problem. 2010-11-09 15:55:52 +02:00
Glenn Morris
14121c5280 * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix. 2010-11-08 23:41:57 -08:00
Glenn Morris
aef8d045c9 ChangeLog fix. 2010-11-08 20:39:11 -08:00
Chong Yidong
0f161c71c9 Bump version to 23.2.90.
Regenerate AUTHORS, configure, and ldefs-boot.el.
2010-11-08 21:53:18 -05:00
Stefan Monnier
dfb70734ef * .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes. 2010-11-08 16:07:41 -05:00
Stefan Monnier
9bdba5f56b * lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field.

Fixes: debbugs:7211
2010-11-08 15:53:42 -05:00
Stefan Monnier
73525e726c * lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.

Fixes: debbugs:7322
2010-11-08 13:56:10 -05:00
Richard Levitte
05539fb32a * lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.
2010-11-08 13:42:24 -05:00
Stefan Monnier
cc4d2366a7 * lisp/international/mule-cmds.el (princ-list): Mark as obsolete. 2010-11-08 10:45:49 -05:00
Stefan Monnier
7f925a67c1 * lisp/emacs-lisp/smie.el: New package. 2010-11-07 10:52:33 -05:00
Michael Albinus
e4dbd3e267 Fix misleading Changelog entry. 2010-11-07 08:02:15 +01:00
Michael Albinus
09def8be4f Fix typo. 2010-11-06 15:05:47 +01:00
Michael Albinus
6ce78fdc20 * 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'.
2010-11-06 15:04:23 +01:00
Eli Zaretskii
a16b2d46ff Fix bug #7300.
msdog.texi (Windows HOME): Add information regarding startup
 directory when invoking Emacs from a desktop shortcut.
2010-11-06 12:23:33 +02:00
Eli Zaretskii
169759a0d4 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.
2010-11-06 12:08:33 +02:00
Eli Zaretskii
21620882d7 Fix bug #7285.
ls-lisp.el (insert-directory): Doc fix.
2010-11-06 11:57:24 +02:00
Wilson Snyder
8468f78b66 * 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.
2010-11-06 00:54:19 -07:00
Michael Albinus
3ff919646c * trampver.texi: Update release number.
This shall not be merged into the trunk.
2010-11-05 21:55:06 +01:00
Michael Albinus
fe9c5521a3 * net/trampver.el: Update release number.
This shall not be merged into the trunk.
2010-11-05 21:52:50 +01:00
Chong Yidong
be3faa809a 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).
2010-11-05 14:28:19 -04:00
Chong Yidong
a7702be668 Regenerate configure. 2010-11-04 16:34:49 -04:00
Chong Yidong
055c91d432 Backport fix for Bug#5723 from trunk. 2010-11-04 15:56:50 -04:00
Chong Yidong
184765cc7a Backport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk 2010-11-04 15:54:28 -04:00
YAMAMOTO Mitsuharu
bd80a88673 Backport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:54:14 -04:00
Helmut Eller
c2e124a95b Backport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:53:28 -04:00
Kenichi Handa
68ae6cda9e Backport 2010-05-27T04:24:30Z!handa@etlken from trunk 2010-11-04 15:46:30 -04:00
YAMAMOTO Mitsuharu
db5cada28d 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).
2010-11-04 15:39:47 -04:00
Chong Yidong
2511e8e04f Backport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:35:32 -04:00
Chong Yidong
fa884f18e1 Backport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:34:50 -04:00
Chong Yidong
c698128618 Backport from trunk. 2010-11-04 15:34:11 -04:00
YAMAMOTO Mitsuharu
00d9e115db 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)
2010-11-04 15:27:46 -04:00
Michael Albinus
f34477d7f0 * configure.in: Don't write a warning for D-Bus anymore. 2010-11-04 17:00:35 +01:00
Jan Djärv
31887d45e8 * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
parent is the root window.  Check this after traversing window tree.
2010-11-04 13:37:17 +01:00
Jan Djärv
69ee5b0fd6 Remove debug code. 2010-11-04 13:17:46 +01:00
Jan Djärv
d75c999218 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.
2010-11-04 09:41:25 +01:00
Jay Belanger
630a5546c9 calc.texi: Update Emacs version to 23.3. 2010-11-03 18:19:23 -05:00
Glenn Morris
754996bcf8 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)
2010-11-03 14:55:19 -04:00
Jan Djärv
3649d303b0 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.
2010-11-01 12:30:33 +01:00
Glenn Morris
cb5e49a301 * lisp/locate.el (locate, locate-mode): Doc fixes. 2010-10-31 23:55:49 -07:00
Chong Yidong
381d186f82 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.
2010-10-31 23:35:06 -04:00
Chong Yidong
98cfec0d69 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.
2010-10-31 23:13:42 -04:00
Glenn Morris
6aad7ea061 Mark tiny change. 2010-10-31 19:30:15 -07:00
Elias Pipping
7632038413 Make Emacs compile with clang.
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.

Fixes: debbugs:7309
2010-10-31 22:01:43 -04:00
Chong Yidong
46eadc7aee 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.
2010-10-30 23:33:56 -04:00
Glenn Morris
e084bc3d41 * lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url. 2010-10-30 19:16:20 -07:00