1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00
Commit Graph

108410 Commits

Author SHA1 Message Date
Chong Yidong
748b0d840f * thingatpt.el (number-at-point): Apply a thing-at-point property. 2012-10-30 06:58:53 +08:00
Daniel Colascione
ba11600816 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.
2012-10-29 09:24:29 -08:00
Stefan Monnier
d7f9cc8528 * 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'.
2012-10-29 11:14:10 -04:00
Stefan Monnier
c606253cb5 * lisp/emacs-lisp/cl.el (letf): Add missing indent rules.
Fixes: debbugs:12759
2012-10-29 09:50:05 -04:00
Stefan Monnier
e07fcbdc32 * lisp/files.el (find-alternate-file): Only ask one question.
Fixes: debbugs:12487
2012-10-29 09:28:41 -04:00
Chong Yidong
1dc2755a71 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
Suggested by Dan Nicolaescu.

Fixes: debbugs:6326
2012-10-29 19:12:17 +08:00
Chong Yidong
329c48d8b2 * info.el (Info-complete-menu-item): Avoid duplicates.
Fixes: debbugs:12705
2012-10-29 18:42:58 +08:00
Kevin Ryde
4574557789 * woman.el (woman-parse-numeric-value): Handle picas correctly.
Fixes: debbugs:12639
2012-10-29 18:30:11 +08:00
Chong Yidong
2230fa5bbf Fix last change.
* lisp/startup.el (fancy-about-screen): Don't message at all.
(startup-echo-area-message): Revert last change.

Fixes: debbugs:12680
2012-10-29 18:14:50 +08:00
Chong Yidong
5c2f2631f8 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
2012-10-29 18:10:15 +08:00
Chong Yidong
e84cad57ef * thingatpt.el (thing-at-point): Doc fix.
Fixes: debbugs:12691
2012-10-29 18:03:21 +08:00
Chong Yidong
1913c5f53b * imenu.el (imenu): Inhibit push-mark message.
Fixes: debbugs:12726
2012-10-29 17:58:49 +08:00
Chong Yidong
894b9dd938 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
2012-10-29 17:55:57 +08:00
Glenn Morris
d55911cf1d * cl.texi (Modify Macros, Other Clauses): Remove mentions of obsolete features. 2012-10-28 18:36:29 -07:00
Glenn Morris
6a07d52ed8 * doc/misc/cl.texi (Obsolete Setf Customization): Don't mention `apply' setf. 2012-10-28 18:31:10 -07:00
Glenn Morris
d571e9c385 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.
2012-10-28 18:29:22 -07:00
Glenn Morris
a3c5b619fc * cl.texi (Setf Extensions): Remove `apply' setf since it seems to be disabled. 2012-10-28 18:19:26 -07:00
Glenn Morris
f1e1b6f3d3 Doc fix (use an alias to be consistent with the rest of this manual) 2012-10-28 18:14:50 -07:00
Glenn Morris
a0ccbcbddc * lisp/emacs-lisp/cl.el (defsetf): Doc fix. 2012-10-28 18:12:53 -07:00
Glenn Morris
d3094168d6 * doc/misc/cl.texi (Organization): More details on cl-lib.el versus cl.el. 2012-10-28 18:06:13 -07:00
Stefan Monnier
b3871e59da * 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
2012-10-28 20:06:39 -04:00
Daniel Hackney
cd44022cb0 * lisp/emacs-lisp/package.el (package-generate-autoloads): Kill buffer
"PKGNAME-autoloads.el" in case we created it.
2012-10-28 16:41:49 -04:00
Stefan Monnier
b938340493 * lisp/minibuffer.el (completion--twq-all): Disable too-strict assertions.
Fixes: debbugs:11714
2012-10-28 15:07:52 -04:00
Stefan Monnier
86957a0cd3 * lisp/minibuffer.el (completion--sifn-requote): Rewrite to handle things
like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping.

Fixes: debbugs:11714
2012-10-28 14:48:17 -04:00
Eli Zaretskii
640bf8ad44 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.
2012-10-28 19:42:52 +02:00
Jan Djärv
64ccff5f0e * 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
2012-10-28 17:10:06 +01:00
Stefan Monnier
e483264ca5 * src/frame.c (x_set_font): Catch internal error. 2012-10-28 11:52:42 -04:00
Stefan Monnier
15a8af19f4 * lisp/erc/erc-backend.el: Fix last bug number.
Fixes: debbugs:12740
2012-10-28 11:34:52 -04:00
Stefan Monnier
3bb08684ce * lisp/erc/erc-backend.el: Only require `erc' during compilation.
Fixes: debbugs:12486
2012-10-28 11:32:15 -04:00
Stefan Monnier
70edffb130 * lisp/tmm.el (tmm-prompt): Use map-keymap.
* doc/lispref/keymaps.texi (Format of Keymaps): Document the multiple
inheritance format.

Fixes: debbugs:12744
2012-10-28 10:56:51 -04:00
Martin Rudalics
3a51f0eb41 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.
2012-10-28 13:56:15 +01:00
Glenn Morris
f94b04fcc7 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.
2012-10-27 19:34:36 -07:00
Glenn Morris
9c52d61d07 Add some xrefs to cl.texi
* doc/misc/cl.texi (Porting Common Lisp, Lexical Bindings):
Add some xrefs to the Elisp manual.
2012-10-27 19:05:04 -07:00
Glenn Morris
3c0c6155a1 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.
2012-10-27 18:55:40 -07:00
Glenn Morris
82b2101791 * doc/emacs/ack.texi (Acknowledgments): Mention gv.el. 2012-10-27 17:16:55 -07:00
Glenn Morris
e11174254b * doc/misc/cl.texi: Use defmac for macros rather than defspec.
(Efficiency Concerns): Related copyedit.
2012-10-27 15:54:53 -07:00
Glenn Morris
5887564d5b 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.
2012-10-27 15:42:07 -07:00
Glenn Morris
5b6887ad2a * doc/lispref/lists.texi (List Elements): Typo fix. 2012-10-27 15:07:43 -07:00
Eli Zaretskii
2f246cd3c8 Fix compiler warnings in w32proc.c.
src/w32proc.c (sys_spawnve): Avoid compiler warning about format mismatch.
 (timer_loop): Remove unused variable.
2012-10-27 21:43:48 +02:00
Eli Zaretskii
2e612797ce Use 'volatile' types for communications between timer thread and main thread. 2012-10-27 21:32:30 +02:00
Eli Zaretskii
15cc05e984 Fix a typo in a comment. 2012-10-27 21:20:02 +02:00
Eli Zaretskii
6c16c13ed1 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.
2012-10-27 13:21:26 +02:00
Bastien Guerry
caa5e5a44d Fix typo in screen.texi. 2012-10-27 13:06:08 +02:00
Eli Zaretskii
d069271c25 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.
2012-10-27 11:54:04 +02:00
Juri Linkov
e2f022a3fa * 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
2012-10-27 12:17:14 +03:00
Martin Rudalics
df171c230c 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.
2012-10-27 10:58:30 +02:00
Chong Yidong
05b621a6b2 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.
2012-10-27 13:03:52 +08:00
Jambunathan K
55f197b219 * lisp/minibuffer.el (completion-category-overrides): New completion
category `bookmark'.

Fixes: debbugs:11131
2012-10-26 16:44:38 -04:00
Glenn Morris
59696ae01c * Makefile.in (EMACS_NAME): New variable.
(EMACS, install-etc, uninstall): Use $EMACS_NAME.
2012-10-26 14:35:36 -04:00
Stefan Monnier
150f809c34 * lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):
Silence bogus compiler warnings for ad-do-it.
2012-10-26 14:01:30 -04:00