]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoFurther small cl.texi changes
Glenn Morris [Sat, 3 Nov 2012 18:55:29 +0000 (11:55 -0700)]
Further small cl.texi changes

* doc/misc/cl.texi (Creating Symbols, Random Numbers):
De-emphasize internal variables cl--gensym-counter and cl--random-state.

* etc/NEWS: Related edits.

Fixes: debbugs:12788
12 years agoRename cl-loop-handler, cl-loop-for-handler back to their original names
Glenn Morris [Sat, 3 Nov 2012 18:32:09 +0000 (11:32 -0700)]
Rename cl-loop-handler, cl-loop-for-handler back to their original names

* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Rename handler properties back from cl-- to cl-.

Fixes: debbugs:12788
12 years agoMore general edits for cl.texi Appendices
Glenn Morris [Sat, 3 Nov 2012 18:23:38 +0000 (11:23 -0700)]
More general edits for cl.texi Appendices

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
Glenn Morris [Sat, 3 Nov 2012 18:03:39 +0000 (11:03 -0700)]
* lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.

12 years agoFurther edits for doc/misc/cl.texi
Glenn Morris [Sat, 3 Nov 2012 17:56:30 +0000 (10:56 -0700)]
Further edits for doc/misc/cl.texi

* cl.texi: Further general copyedits.
(List Functions): Remove copy-tree, standard elisp for some time.
(Efficiency Concerns): Comment out examples that no longer apply.
(Compiler Optimizations): Rename from "Optimizing Compiler"; reword.

12 years ago* lispref/objects.texi: Fix last change.
Chong Yidong [Sat, 3 Nov 2012 16:54:11 +0000 (00:54 +0800)]
* lispref/objects.texi: Fix last change.

12 years agoAdapt MSDOS port to latest changes.
Eli Zaretskii [Sat, 3 Nov 2012 13:58:33 +0000 (15:58 +0200)]
Adapt MSDOS port to latest changes.

 config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.

 msdos/sedlibmk.inp: Sync with changes in lib/Makefile.in.
 (HAVE_DECL_ENVIRON, GNULIB_ENVIRON): Edit to require declaration
 through lib/unistd.h.
 msdos/sed1v2.inp: Sync with changes in src/Makefile.in.
 msdos/sed2v2.inp: Sync with changes in src/config.in.

 src/lisp.mk: Adjust comments to the fact that term/internal is now
 loaded from loadup.el.
 src/msdos.c (msdos_abort): Rename from emacs_abort, and make static.
 (msdos_fatal_signal): New function.
 (XMenuActivate): Adjust the call to kbd_buffer_events_waiting to
 its argument list.
 src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Define to "inline"
 for GCC versions before 4.
 (emacs_raise): Define to call msdos_fatal_signal.

 lisp/term/pc-win.el: Don't load term/internal from here.
 lisp/loadup.el: Load term/internal from here.

12 years agoLoad term/internal from loadup.el.
Eli Zaretskii [Sat, 3 Nov 2012 13:56:02 +0000 (15:56 +0200)]
Load term/internal from loadup.el.

12 years agoAdapt the MSDOS build to the latest changes on mainline.
Eli Zaretskii [Sat, 3 Nov 2012 13:48:33 +0000 (15:48 +0200)]
Adapt the MSDOS build to the latest changes on mainline.

12 years ago* progmodes/python.el (inferior-python-mode): Fix hang in
Fabián Ezequiel Gallina [Sat, 3 Nov 2012 12:20:02 +0000 (09:20 -0300)]
* progmodes/python.el (inferior-python-mode): Fix hang in
jit-lock.

Fixes: debbugs:12645
12 years agoBackport from trunk.
Jan Djärv [Sat, 3 Nov 2012 11:33:28 +0000 (12:33 +0100)]
Backport from trunk.

* widget.c (resize_cb): New function.
(EmacsFrameRealize): Add resize_cb as event handler.
(EmacsFrameResize): Check if all is up to date before changing frame
size.

Fixes: debbugs:12733
12 years agoClarify documentation about escape sequences in strings.
Chong Yidong [Sat, 3 Nov 2012 11:02:43 +0000 (19:02 +0800)]
Clarify documentation about escape sequences in strings.

* objects.texi (General Escape Syntax): Clarify the explanation of
escape sequences.
(Non-ASCII in Strings): Clarify when a string is unibyte vs
multibyte.  Hex escapes do not automatically make a string multibyte.

12 years agoDoc changes related to displaying buffers and quitting windows.
Martin Rudalics [Sat, 3 Nov 2012 10:47:03 +0000 (11:47 +0100)]
Doc changes related to displaying buffers and quitting windows.

* window.el (switch-to-visible-buffer)
(switch-to-buffer-preserve-window-point): Fix doc-strings.

* windows.texi (Switching Buffers): Document option
switch-to-buffer-preserve-window-point.
(Display Action Functions): Document window-height and
window-width alist entries.
(Display Action Functions): Document
display-buffer-below-selected and
display-buffer-in-previous-window.
(Quitting Windows): Document quit-restore-window.  Rewrite
section.
(Window Configurations): In window-state-get mention that
argument window must be valid.
(Window Parameters): Document quit-restore window parameter
(Bug#12158).

12 years agoFix bidi initialization in init_from_display_pos.
Eli Zaretskii [Sat, 3 Nov 2012 09:25:34 +0000 (11:25 +0200)]
Fix bidi initialization in init_from_display_pos.

 src/xdisp.c (init_from_display_pos): Fix initialization of the bidi
 iterator when starting in the middle of a display or overlay
 string.

Fixes: debbugs:12745
12 years ago* doc/misc/cl.texi: Further general copyedits.
Glenn Morris [Sat, 3 Nov 2012 01:19:40 +0000 (21:19 -0400)]
* doc/misc/cl.texi: Further general copyedits.
Eg, no longer distinguish between "the optimizing compiler" and "the
non-optimizing compiler" like they were different entities.

12 years agoUndocument cl-floatp-safe, since it is no longer relevant
Glenn Morris [Fri, 2 Nov 2012 22:29:56 +0000 (18:29 -0400)]
Undocument cl-floatp-safe, since it is no longer relevant

* doc/misc/cl.texi (Naming Conventions, Type Predicates, Macros)
(Predicates on Numbers): No longer mention cl-floatp-safe.

12 years agoFix MS-Windows build broken by fixing bug #12776 on Posix platforms.
Eli Zaretskii [Thu, 1 Nov 2012 14:21:45 +0000 (16:21 +0200)]
Fix MS-Windows build broken by fixing bug #12776 on Posix platforms.

 src/w32proc.c (getpgrp, setpgid): New functions.

 nt/inc/unistd.h (setpgid, getpgrp): Provide prototypes.
 nt/config.nt (GETPGRP_VOID): Define to 1.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 1 Nov 2012 10:19:27 +0000 (06:19 -0400)]
Auto-commit of loaddefs files.

12 years agoMore edits for cl.texi
Glenn Morris [Thu, 1 Nov 2012 07:16:32 +0000 (00:16 -0700)]
More edits for cl.texi

* doc/misc/cl.texi: More copyedits, plus:
(Time of Evaluation, Iteration): Add xref to Emacs Lisp manual.
(Macro Bindings, Blocks and Exits): Acknowledge existence of lexical-binding.
(Iteration): Mainly defer to doc of standard dolist, dotimes.

12 years agoFix for gomoku-display-statistics.
Stephen Berman [Thu, 1 Nov 2012 02:25:08 +0000 (10:25 +0800)]
Fix for gomoku-display-statistics.

* play/gomoku.el (gomoku-display-statistics): Update mode line
only if in Gomoku buffer; don't capitalize "won".

Fixes: debbugs:12771
12 years ago* doc/misc/cl.texi: General copyedits for style, line-breaks, etc.
Glenn Morris [Thu, 1 Nov 2012 01:44:50 +0000 (21:44 -0400)]
* doc/misc/cl.texi: General copyedits for style, line-breaks, etc.
Replace "..." by @dots; car by @sc{car}, etc.

12 years ago* doc/misc/cl.texi (Modify Macros, Function Bindings): Add some xrefs.
Glenn Morris [Wed, 31 Oct 2012 21:04:28 +0000 (17:04 -0400)]
* doc/misc/cl.texi (Modify Macros, Function Bindings): Add some xrefs.

12 years agoTrivial ert.texi update for cl-lib namespace
Glenn Morris [Wed, 31 Oct 2012 21:02:51 +0000 (17:02 -0400)]
Trivial ert.texi update for cl-lib namespace

* doc/misc/ert.texi (Introduction, The @code{should} Macro):
Refer to "cl-assert" rather than "assert".

12 years ago* doc/lispref/control.texi (Catch and Throw): Add xref to cl.texi.
Glenn Morris [Wed, 31 Oct 2012 21:00:57 +0000 (17:00 -0400)]
* doc/lispref/control.texi (Catch and Throw): Add xref to cl.texi.

12 years ago* doc/lispref/lists.texi (Sets And Lists): Point xref to better location.
Glenn Morris [Wed, 31 Oct 2012 21:00:13 +0000 (17:00 -0400)]
* doc/lispref/lists.texi (Sets And Lists): Point xref to better location.

12 years agoSmall lispref update for cl-lib namespace changes
Glenn Morris [Wed, 31 Oct 2012 20:59:04 +0000 (16:59 -0400)]
Small lispref update for cl-lib namespace changes

* doc/lispref/errors.texi (Standard Errors):
* doc/lispref/loading.texi (Autoload): Update for cl-lib namespace changes.

12 years agolispref xref update
Glenn Morris [Wed, 31 Oct 2012 20:56:55 +0000 (16:56 -0400)]
lispref xref update

* doc/lispref/modes.texi (Defining Minor Modes):
"Generalized Variables" section is now in this manual rather than cl.texi.

12 years agoLispref updates for some things no longer being special forms
Glenn Morris [Wed, 31 Oct 2012 20:54:19 +0000 (16:54 -0400)]
Lispref updates for some things no longer being special forms

* doc/lispref/eval.texi (Special Forms): No longer special forms:
defmacro, defun, save-window-excursion, with-output-to-temp-buffer.

* doc/lispref/functions.texi (Defining Functions): Defun is now a macro.
Defalias is a function.

12 years agoSpelling fixes.
Paul Eggert [Wed, 31 Oct 2012 19:23:06 +0000 (12:23 -0700)]
Spelling fixes.

12 years agoFix crash when using Emacs as commit editor for git.
Paul Eggert [Wed, 31 Oct 2012 17:27:29 +0000 (10:27 -0700)]
Fix crash when using Emacs as commit editor for git.

* callproc.c (setpgrp): Remove macro, as we now use setpgid
and it is configured in conf_post.h.
(Fcall_process): Don't invoke both setsid and setpgid; the former
is enough, if it exists.
* callproc.c (Fcall_process, child_setup):
* process.c (create_process): Use setpgid.
* conf_post.h (setpgid) [!HAVE_SETPGID]: New macro, which substitutes
for the real thing.
* dispnew.c (init_display): Initialize the foreground group
if we are running a tty display.
* emacs.c (main): Do not worry about setpgrp; init_display does it now.
* lisp.h (init_foreground_group): New decl.
* sysdep.c (inherited_pgroup): New static var.
(init_foreground_group, tcsetpgrp_without_stopping)
(narrow_foreground_group, widen_foreground_group): New functions.
(init_sys_modes): Narrow foreground group.
(reset_sys_modes): Widen foreground group.

Fixes: debbugs:12697
12 years ago* dbusbind.c: Fix cut'n'waste error. Use HAVE_DBUS_VALIDATE_INTERFACE.
Michael Albinus [Wed, 31 Oct 2012 11:45:40 +0000 (12:45 +0100)]
* dbusbind.c: Fix cut'n'waste error.  Use HAVE_DBUS_VALIDATE_INTERFACE.

12 years agoInstall fixes for Bug#12764 and Bug#12766.
Martin Rudalics [Wed, 31 Oct 2012 10:02:51 +0000 (11:02 +0100)]
Install fixes for Bug#12764 and Bug#12766.

* window.el (quit-restore-window): If the window has been
created on an existing frame and ended up as the sole window on
that frame, do not delete it (Bug#12764).

* minibuf.c (read_minibuf): Restore current buffer since
choose_minibuf_frame calling Fset_frame_selected_window may
change it (Bug#12766).

12 years agoDocument cl-flet and cl-labels in doc/misc/cl.texi
Glenn Morris [Wed, 31 Oct 2012 07:25:18 +0000 (00:25 -0700)]
Document cl-flet and cl-labels in doc/misc/cl.texi

* doc/misc/cl.texi (Function Bindings): Update for cl-flet and cl-labels.
(Obsolete Lexical Binding): Rename section from "Lexical Bindings".
(Obsolete Macros): Rename section from "Obsolete Lexical Macros".
Reword, and add details of flet and labels.

* etc/NEWS: Related markup.

12 years ago* lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
Stefan Monnier [Wed, 31 Oct 2012 03:10:25 +0000 (23:10 -0400)]
* lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
Rename from sh--inside-arithmetic-expression, handle more cases.

Fixes: debbugs:11263
12 years ago* lisp/progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
Stefan Monnier [Wed, 31 Oct 2012 02:45:34 +0000 (22:45 -0400)]
* lisp/progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
(sh-font-lock-open-heredoc): Use it.

Fixes: debbugs:12770
12 years agoFix typo in earlier cl.texi change
Glenn Morris [Tue, 30 Oct 2012 19:23:13 +0000 (15:23 -0400)]
Fix typo in earlier cl.texi change

12 years ago* frame.c (Fframe_pixel_height): Fix documentation.
Jan Djärv [Tue, 30 Oct 2012 18:28:48 +0000 (19:28 +0100)]
* frame.c (Fframe_pixel_height): Fix documentation.

Fixes: debbugs:12733
12 years ago* trouble.texi (Known Problems): Mention command `debbugs-gnu-usertags'.
Michael Albinus [Tue, 30 Oct 2012 12:48:42 +0000 (13:48 +0100)]
* trouble.texi (Known Problems): Mention command `debbugs-gnu-usertags'.

12 years agomerge trun
Kenichi Handa [Tue, 30 Oct 2012 11:38:37 +0000 (20:38 +0900)]
merge trun

12 years agofont.c (Ffont_at): If WINDOW is specified and it is not displaying the current buffer...
Kenichi Handa [Tue, 30 Oct 2012 11:14:15 +0000 (20:14 +0900)]
font.c (Ffont_at): If WINDOW is specified and it is not displaying the current buffer, signal an error.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 30 Oct 2012 10:18:56 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

12 years agocl-mapc small fixes
Glenn Morris [Tue, 30 Oct 2012 08:03:22 +0000 (01:03 -0700)]
cl-mapc small fixes

* lisp/emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.

* doc/misc/cl.texi (Mapping over Sequences): Mention cl-mapc naming oddity.

12 years agoMore small manual updates for cl.texi
Glenn Morris [Tue, 30 Oct 2012 07:54:17 +0000 (00:54 -0700)]
More small manual updates for cl.texi

* doc/misc/cl.texi (Setf Extensions): Partially restore note about cl-getf,
mainly moved to lispref/variables.texi.
(Property Lists): Fix cl-getf typos.

* doc/lispref/variables.texi (Generalized Variables): Fix typo.

12 years agoDoc and manual updates for cl-letf and letf
Glenn Morris [Tue, 30 Oct 2012 07:34:37 +0000 (00:34 -0700)]
Doc and manual updates for cl-letf and letf
Fixes: debbugs:12760
* doc/misc/cl.texi (Modify Macros): Update for cl-letf changes.
(Obsolete Lexical Macros): Say a little more about letf/cl-letf.

* lisp/emacs-lisp/cl.el (letf): Doc fix.

* etc/NEWS: Related edit.

12 years agoAdd a comment for the last isearch.el change.
Chong Yidong [Tue, 30 Oct 2012 06:23:31 +0000 (14:23 +0800)]
Add a comment for the last isearch.el change.

12 years agoComplete fix for build break
Daniel Colascione [Tue, 30 Oct 2012 03:10:52 +0000 (19:10 -0800)]
Complete fix for build break

12 years agoFix build break in non-Cygw32 Cygwin builds introduced in 2012-10-29T17:24:29Z!dancol...
Daniel Colascione [Tue, 30 Oct 2012 01:56:38 +0000 (17:56 -0800)]
Fix build break in non-Cygw32 Cygwin builds introduced in 2012-10-29T17:24:29Z!dancol@dancol.org.

12 years agoDocument more Emacs 24.3 changes.
Chong Yidong [Tue, 30 Oct 2012 00:29:37 +0000 (08:29 +0800)]
Document more Emacs 24.3 changes.

* frames.texi (Visibility of Frames): Document tty-top-frame.

* loading.texi (Autoload): Document autoloadp, autoload-do-load.

* symbols.texi (Symbol Plists): Document function-get.

12 years agoDocument dired-do-async-shell-command changes.
Chong Yidong [Mon, 29 Oct 2012 23:48:02 +0000 (07:48 +0800)]
Document dired-do-async-shell-command changes.

* dired.texi (Shell Commands in Dired): Document changes to the
dired-do-async-shell-command.

12 years agoFix isearch handling of keypad characters with kmacros.
Chong Yidong [Mon, 29 Oct 2012 23:20:24 +0000 (07:20 +0800)]
Fix isearch handling of keypad characters with kmacros.

* isearch.el (isearch-other-meta-char): Ensure that a reprocessed
function key is stored in a keyboard macro.

Fixes: debbugs:4894
12 years ago* thingatpt.el (number-at-point): Apply a thing-at-point property.
Chong Yidong [Mon, 29 Oct 2012 22:58:53 +0000 (06:58 +0800)]
* thingatpt.el (number-at-point): Apply a thing-at-point property.

12 years ago2012-10-29 Daniel Colascione <dancol@dancol.org>
Daniel Colascione [Mon, 29 Oct 2012 17:24:29 +0000 (09:24 -0800)]
2012-10-29  Daniel Colascione  <dancol@dancol.org>

cygw32.h, cygw32.c (Qutf_16le, from_unicode, to_unicode): In
preparation for fixing bug#12739, move these functions from
here...

* coding.h, coding.c: ... to here, and compile them only when
WINDOWSNT or HAVE_NTGUI.  Moving these functions out of cygw32
proper lets us write cygw32-agnostic code for the HAVE_NTGUI case.

12 years ago* lisp/vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
Stefan Monnier [Mon, 29 Oct 2012 15:14:10 +0000 (11:14 -0400)]
* lisp/vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
header comments".
(diff-unified->context, diff-context->unified)
(diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.

12 years ago* lisp/emacs-lisp/cl.el (letf): Add missing indent rules.
Stefan Monnier [Mon, 29 Oct 2012 13:50:05 +0000 (09:50 -0400)]
* lisp/emacs-lisp/cl.el (letf): Add missing indent rules.

Fixes: debbugs:12759
12 years ago* lisp/files.el (find-alternate-file): Only ask one question.
Stefan Monnier [Mon, 29 Oct 2012 13:28:41 +0000 (09:28 -0400)]
* lisp/files.el (find-alternate-file): Only ask one question.

Fixes: debbugs:12487
12 years ago* vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
Chong Yidong [Mon, 29 Oct 2012 11:12:17 +0000 (19:12 +0800)]
* vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
Suggested by Dan Nicolaescu.

Fixes: debbugs:6326
12 years ago* info.el (Info-complete-menu-item): Avoid duplicates.
Chong Yidong [Mon, 29 Oct 2012 10:42:58 +0000 (18:42 +0800)]
* info.el (Info-complete-menu-item): Avoid duplicates.

Fixes: debbugs:12705
12 years ago* woman.el (woman-parse-numeric-value): Handle picas correctly.
Kevin Ryde [Mon, 29 Oct 2012 10:30:11 +0000 (18:30 +0800)]
* woman.el (woman-parse-numeric-value): Handle picas correctly.

Fixes: debbugs:12639
12 years agoFix last change.
Chong Yidong [Mon, 29 Oct 2012 10:14:50 +0000 (18:14 +0800)]
Fix last change.

* lisp/startup.el (fancy-about-screen): Don't message at all.
(startup-echo-area-message): Revert last change.

Fixes: debbugs:12680
12 years agoAvoid a misleading message on C-h C-a.
Chong Yidong [Mon, 29 Oct 2012 10:10:15 +0000 (18:10 +0800)]
Avoid a misleading message on C-h C-a.

* lisp/startup.el (startup-echo-area-message): New arg.
(fancy-about-screen): Avoid a misleading message.

Fixes: debbugs:12680
12 years ago* thingatpt.el (thing-at-point): Doc fix.
Chong Yidong [Mon, 29 Oct 2012 10:03:21 +0000 (18:03 +0800)]
* thingatpt.el (thing-at-point): Doc fix.

Fixes: debbugs:12691
12 years ago* imenu.el (imenu): Inhibit push-mark message.
Chong Yidong [Mon, 29 Oct 2012 09:58:49 +0000 (17:58 +0800)]
* imenu.el (imenu): Inhibit push-mark message.

Fixes: debbugs:12726
12 years agoManage face-remapping-alist properly in face-remap-add-relative.
Chong Yidong [Mon, 29 Oct 2012 09:55:57 +0000 (17:55 +0800)]
Manage face-remapping-alist properly in face-remap-add-relative.

* face-remap.el (face-remap-add-relative): Handle the case where a
face-remapping-alist entry is a cons cell.

Fixes: debbugs:12762
12 years ago* cl.texi (Modify Macros, Other Clauses): Remove mentions of obsolete features.
Glenn Morris [Mon, 29 Oct 2012 01:36:29 +0000 (18:36 -0700)]
* cl.texi (Modify Macros, Other Clauses): Remove mentions of obsolete features.

12 years ago* doc/misc/cl.texi (Obsolete Setf Customization): Don't mention `apply' setf.
Glenn Morris [Mon, 29 Oct 2012 01:31:10 +0000 (18:31 -0700)]
* doc/misc/cl.texi (Obsolete Setf Customization): Don't mention `apply' setf.

12 years agoMove some cl.texi setf extensions to the Obsolete appendix
Glenn Morris [Mon, 29 Oct 2012 01:29:22 +0000 (18:29 -0700)]
Move some cl.texi setf extensions to the Obsolete appendix

* doc/misc/cl.texi (Customizing Setf):
Move contents to "Obsolete Setf Customization".
(Modify Macros, Multiple Values): Remove mentions of obsolete feature.

12 years ago* cl.texi (Setf Extensions): Remove `apply' setf since it seems to be disabled.
Glenn Morris [Mon, 29 Oct 2012 01:19:26 +0000 (18:19 -0700)]
* cl.texi (Setf Extensions): Remove `apply' setf since it seems to be disabled.

12 years agoDoc fix (use an alias to be consistent with the rest of this manual)
Glenn Morris [Mon, 29 Oct 2012 01:14:50 +0000 (18:14 -0700)]
Doc fix (use an alias to be consistent with the rest of this manual)

12 years ago* lisp/emacs-lisp/cl.el (defsetf): Doc fix.
Glenn Morris [Mon, 29 Oct 2012 01:12:53 +0000 (18:12 -0700)]
* lisp/emacs-lisp/cl.el (defsetf): Doc fix.

12 years ago* doc/misc/cl.texi (Organization): More details on cl-lib.el versus cl.el.
Glenn Morris [Mon, 29 Oct 2012 01:06:13 +0000 (18:06 -0700)]
* doc/misc/cl.texi (Organization): More details on cl-lib.el versus cl.el.

12 years ago* lisp/progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
Stefan Monnier [Mon, 29 Oct 2012 00:06:39 +0000 (20:06 -0400)]
* lisp/progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
syntax to the matching opener, if any.
(sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
matching open as a "case-(".
(sh-smie-rc-grammar): Add a corresponding rule for it.

Fixes: debbugs:12547
12 years ago* lisp/emacs-lisp/package.el (package-generate-autoloads): Kill buffer
Daniel Hackney [Sun, 28 Oct 2012 20:41:49 +0000 (16:41 -0400)]
* lisp/emacs-lisp/package.el (package-generate-autoloads): Kill buffer
"PKGNAME-autoloads.el" in case we created it.

12 years ago* lisp/minibuffer.el (completion--twq-all): Disable too-strict assertions.
Stefan Monnier [Sun, 28 Oct 2012 19:07:52 +0000 (15:07 -0400)]
* lisp/minibuffer.el (completion--twq-all): Disable too-strict assertions.

Fixes: debbugs:11714
12 years ago* lisp/minibuffer.el (completion--sifn-requote): Rewrite to handle things
Stefan Monnier [Sun, 28 Oct 2012 18:48:17 +0000 (14:48 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Rewrite to handle things
like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping.

Fixes: debbugs:11714
12 years agoDon't use CLOCKS_PER_SEC in w32 timers.
Eli Zaretskii [Sun, 28 Oct 2012 17:42:52 +0000 (19:42 +0200)]
Don't use CLOCKS_PER_SEC in w32 timers.

 src/w32proc.c (TIMER_TICKS_PER_SEC): New macro.
 (timer_loop, getitimer, setitimer): Use it instead of
 CLOCKS_PER_SEC, which is no longer pertinent, since we don't use
 'clock'.
 (w32_get_timer_time): Use 10*TIMER_TICKS_PER_SEC instead of a
 literal 10000.

12 years ago* nsterm.m (NO_APPDEFINED_DATA): New define.
Jan Djärv [Sun, 28 Oct 2012 16:10:06 +0000 (17:10 +0100)]
* nsterm.m (NO_APPDEFINED_DATA): New define.
(last_appdefined_event_data): New variable
(last_appdefined_event): Remove.
(ns_select): Initialize t from last_appdefined_event_data instead
of [last_appdefined_event data1].
(sendEvent:): Save [theEvent data1] to last_appdefined_event_data,
remove last_appdefined_event.

Fixes: debbugs:12698
12 years ago* src/frame.c (x_set_font): Catch internal error.
Stefan Monnier [Sun, 28 Oct 2012 15:52:42 +0000 (11:52 -0400)]
* src/frame.c (x_set_font): Catch internal error.

12 years ago* lisp/erc/erc-backend.el: Fix last bug number.
Stefan Monnier [Sun, 28 Oct 2012 15:34:52 +0000 (11:34 -0400)]
* lisp/erc/erc-backend.el: Fix last bug number.

Fixes: debbugs:12740
12 years ago* lisp/erc/erc-backend.el: Only require `erc' during compilation.
Stefan Monnier [Sun, 28 Oct 2012 15:32:15 +0000 (11:32 -0400)]
* lisp/erc/erc-backend.el: Only require `erc' during compilation.

Fixes: debbugs:12486
12 years ago* lisp/tmm.el (tmm-prompt): Use map-keymap.
Stefan Monnier [Sun, 28 Oct 2012 14:56:51 +0000 (10:56 -0400)]
* lisp/tmm.el (tmm-prompt): Use map-keymap.
* doc/lispref/keymaps.texi (Format of Keymaps): Document the multiple
inheritance format.

Fixes: debbugs:12744
12 years agoReformulate description of windows basics. Describe changes in window ordering.
Martin Rudalics [Sun, 28 Oct 2012 12:56:15 +0000 (13:56 +0100)]
Reformulate description of windows basics.  Describe changes in window ordering.

* windows.texi (Basic Windows): Reformulate description of live,
internal and valid windows.
(Cyclic Window Ordering): Describe new argument of
get-lru-window and get-largest-window.  Add description of
window-in-direction.

12 years agoMore cl.texi updates
Glenn Morris [Sun, 28 Oct 2012 02:34:36 +0000 (19:34 -0700)]
More cl.texi updates

* doc/misc/cl.texi (Multiple Values, Common Lisp Compatibility):
More namespace updates.
(Obsolete Features): Copyedits.
(Obsolete Lexical Macros, Obsolete Setf Customization): New subsections.

* etc/NEWS: Related edits.

12 years agoAdd some xrefs to cl.texi
Glenn Morris [Sun, 28 Oct 2012 02:05:04 +0000 (19:05 -0700)]
Add some xrefs to cl.texi

* doc/misc/cl.texi (Porting Common Lisp, Lexical Bindings):
Add some xrefs to the Elisp manual.

12 years agoStart moving some cl.texi features to an Obsolete appendix
Glenn Morris [Sun, 28 Oct 2012 01:55:40 +0000 (18:55 -0700)]
Start moving some cl.texi features to an Obsolete appendix

* doc/misc/cl.texi (Lexical Bindings): Move to appendix of obsolete features.
(Porting Common Lisp): Emacs Lisp can do true lexical binding now.
(Obsolete Features): New appendix.  Move Lexical Bindings here.

12 years ago* doc/emacs/ack.texi (Acknowledgments): Mention gv.el.
Glenn Morris [Sun, 28 Oct 2012 00:16:55 +0000 (17:16 -0700)]
* doc/emacs/ack.texi (Acknowledgments): Mention gv.el.

12 years ago* doc/misc/cl.texi: Use defmac for macros rather than defspec.
Glenn Morris [Sat, 27 Oct 2012 22:54:53 +0000 (15:54 -0700)]
* doc/misc/cl.texi: Use defmac for macros rather than defspec.
(Efficiency Concerns): Related copyedit.

12 years agoMove generalized variable documentation from misc/cl.texi to lispref
Glenn Morris [Sat, 27 Oct 2012 22:42:07 +0000 (15:42 -0700)]
Move generalized variable documentation from misc/cl.texi to lispref

* doc/lispref/variables.texi (Generalized Variables): New section,
adapted from misc/cl.texi.

* doc/lispref/elisp.texi (Top): Add Generalized Variables to menu.

* doc/lispref/lists.texi (List Elements, List Variables):
Mention generalized variables.

* doc/misc/cl.texi (Control Structure): Update for setf now being in core.
(Setf Extensions): Rename from Basic Setf.  Move much of the
former content to lispref/variables.texi.
(Modify Macros): Move pop, push details to lispref/variables.texi.
(Customizing Setf): Copyedits for setf etc being in core.
(Modify Macros, Efficiency Concerns, Porting Common Lisp):
Further namespaces updates.

12 years ago* doc/lispref/lists.texi (List Elements): Typo fix.
Glenn Morris [Sat, 27 Oct 2012 22:07:43 +0000 (15:07 -0700)]
* doc/lispref/lists.texi (List Elements): Typo fix.

12 years agoFix compiler warnings in w32proc.c.
Eli Zaretskii [Sat, 27 Oct 2012 19:43:48 +0000 (21:43 +0200)]
Fix compiler warnings in w32proc.c.

 src/w32proc.c (sys_spawnve): Avoid compiler warning about format mismatch.
 (timer_loop): Remove unused variable.

12 years agoUse 'volatile' types for communications between timer thread and main thread.
Eli Zaretskii [Sat, 27 Oct 2012 19:32:30 +0000 (21:32 +0200)]
Use 'volatile' types for communications between timer thread and main thread.

12 years agoFix a typo in a comment.
Eli Zaretskii [Sat, 27 Oct 2012 19:20:02 +0000 (21:20 +0200)]
Fix a typo in a comment.

12 years agoFix w32 implementation of itimers: overflow and ITIMER_PROF.
Eli Zaretskii [Sat, 27 Oct 2012 11:21:26 +0000 (13:21 +0200)]
Fix w32 implementation of itimers: overflow and ITIMER_PROF.

 Avoid overflow in w32 implementation of interval timers.  When
 possible, for ITIMER_PROF count only times the main thread
 actually executes.

 src/w32proc.c <struct itimer_data>: 'expire' and 'reload' are now
 ULONGLONG types.  Likewise for all the other data which was
 previously clock_t.
 (GetThreadTimes_Proc): New typedef.
 (w32_get_timer_time): New function, returns a suitable time value
 for the timer.
 (timer_loop): Enter critical section when accessing ULONGLONG
 values of the itimer_data struct, as these accesses are no longer
 atomic.  Call 'w32_get_timer_time' instead of 'clock'.
 (init_timers): Initialize s_pfn_Get_Thread_Times.
 (start_timer_thread): Don't assign itimer->caller_thread here.
 (getitimer): Assign itimer->caller_thread here.
 (setitimer): Always call getitimer to get the value of ticks_now.

12 years agoFix typo in screen.texi.
Bastien Guerry [Sat, 27 Oct 2012 11:06:08 +0000 (13:06 +0200)]
Fix typo in screen.texi.

12 years agoFix help-echo text in profiler-report-make-entry-part.
Eli Zaretskii [Sat, 27 Oct 2012 09:54:04 +0000 (11:54 +0200)]
Fix help-echo text in profiler-report-make-entry-part.

 lisp/profiler.el (profiler-report-make-entry-part): Fix help-echo
 text to match the real keybindings.

12 years ago* lisp/wdired.el (wdired-keep-marker-rename): New defcustom.
Juri Linkov [Sat, 27 Oct 2012 09:17:14 +0000 (12:17 +0300)]
* lisp/wdired.el (wdired-keep-marker-rename): New defcustom.
(wdired-do-renames): Use it instead of `dired-keep-marker-rename'.

* lisp/dired.el (dired-keep-marker-rename): Add reference to
`wdired-keep-marker-rename' in the docstring.
Add default character value ?R to display initially in
Customization UI instead of ?@.

Fixes: debbugs:11795
12 years agoIn display-time-world restore fit-window-to-buffer behavior.
Martin Rudalics [Sat, 27 Oct 2012 08:58:30 +0000 (10:58 +0200)]
In display-time-world restore fit-window-to-buffer behavior.

* window.el (display-buffer): In doc-string describe
window-height and window-width alist entries.

* time.el (display-time-world): Restore fit-window-to-buffer
behavior.

12 years agoMore Emacs 24.3 documentation updates.
Chong Yidong [Sat, 27 Oct 2012 05:03:52 +0000 (13:03 +0800)]
More Emacs 24.3 documentation updates.

* doc/emacs/building.texi (Compilation): Document compilation-always-kill.

* doc/emacs/files.texi (Misc File Ops): Symbolic links on Windows only work
on Vista and later.

* doc/emacs/frames.texi (Mouse Avoidance): Mention new variable
mouse-avoidance-banish-position.

* doc/emacs/mule.texi (Recognize Coding): Remove an unreferenced vindex.

* doc/emacs/package.texi (Package Menu): Document the "new" status.

* doc/emacs/programs.texi (Which Function): Which Function mode now works in
all major modes by default.

* doc/emacs/search.texi (Symbol Search): New node.

* doc/emacs/windows.texi (Window Choice): Don't refer to the obsolete
special-display feature.

* commands.texi (Event Input Misc): Remove last-input-char.
(Command Loop Info): Remove last-command-char.

* display.texi (Fringe Bitmaps): Add exclamation-mark bitmap.

* frames.texi (Initial Parameters): Don't mention the obsolete
special-display feature.

* hooks.texi (Standard Hooks): Remove obsolete hooks.

* markers.texi (Information from Markers): Remove obsolete
function buffer-has-markers-at.

* minibuf.texi (High-Level Completion): Don't mention removed
function iswitchb-read-buffer.

* text.texi (Yanking): Document yank-handled-properties.

* windows.texi (Choosing Window): Don't mention the obsolete
special display feature.
(Choosing Window Options): Remove obsolete special-display
variables, and the functions special-display-p and
special-display-popup-frame.

* subr.el (insert-buffer-substring-as-yank): Doc fix.

12 years ago* lisp/minibuffer.el (completion-category-overrides): New completion
Jambunathan K [Fri, 26 Oct 2012 20:44:38 +0000 (16:44 -0400)]
* lisp/minibuffer.el (completion-category-overrides): New completion
category `bookmark'.

Fixes: debbugs:11131
12 years ago* Makefile.in (EMACS_NAME): New variable.
Glenn Morris [Fri, 26 Oct 2012 18:35:36 +0000 (14:35 -0400)]
* Makefile.in (EMACS_NAME): New variable.
(EMACS, install-etc, uninstall): Use $EMACS_NAME.

12 years ago* lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):
Stefan Monnier [Fri, 26 Oct 2012 18:01:30 +0000 (14:01 -0400)]
* lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):
Silence bogus compiler warnings for ad-do-it.