1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

108502 commits

Author SHA1 Message Date
Glenn Morris
d036bcdffe Allow choice of icon style at install time
This feature is intentionally not advertised
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12536#40

* Makefile.in (EMACS_ICON): New variable.
(install-etc): Use EMACS_ICON to allow choice of icon.
2012-11-02 18:22:11 -04:00
Jan Djärv
600d4768d8 * 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
2012-11-01 23:44:53 +01:00
Glenn Morris
95a32efb54 Add NEWS top-level headings for 24.4. 2012-11-02 09:14:06 -07:00
Eli Zaretskii
1005b4b98a Implement backtrace output for fatal errors on MS-Windows.
src/w32fns.c (CaptureStackBackTrace_proc): New typedef.
 (BACKTRACE_LIMIT_MAX): New macro.
 (w32_backtrace): New function.
 (emacs_abort): Use w32_backtrace when the user chooses not to
 attach a debugger.  Update the text of the abort dialog.
2012-11-02 16:00:45 +02:00
Dmitry Antipov
b9e9df47f2 Window-related stuff cleanup here and there.
* dispnew.c (Finternal_show_cursor, Finternal_show_cursor_p):
Use decode_any_window.
* fringe.c (Ffringe_bitmaps_at_pos): Likewise.
* xdisp.c (Fformat_mode_line): Likewise.
* font.c (Ffont_at): Use decode_live_window.
* indent.c (Fcompute_motion, Fvertical_motion): Likewise.
* window.c (decode_next_window_args): Likewise.
(decode_any_window): Remove static.
* window.h (decode_any_window): Add prototype.
* lisp.h (CHECK_VALID_WINDOW, CHECK_LIVE_WINDOW): Move from here...
* window.h: ...to here, redefine via WINDOW_VALID_P and WINDOW_LIVE_P,
respectively.
2012-11-02 14:34:26 +04:00
Glenn Morris
c574bc3409 Auto-commit of generated files. 2012-11-02 06:17:32 -04:00
Dmitry Antipov
2b371ff75d Remove pad from struct input_event.
* termhooks.h (struct input_event): Remove padding field.
Adjust comment.
* keyboard.c (event_to_kboard): Simplify because frame_or_window
member is never cons for a long time.  Adjust comment.
(mark_kboards): Adjust because SELECTION_REQUEST_EVENT and
SELECTION_CLEAR_EVENT has no Lisp_Objects to mark.  Add comment.
* xterm.c (handle_one_xevent): Do not initialize frame_or_window
field of SELECTION_REQUEST_EVENT and SELECTION_CLEAR_EVENT.
2012-11-02 13:44:08 +04:00
Chong Yidong
052f924a01 Bump version to 24.3.50 2012-11-02 08:48:12 +08:00
Eli Zaretskii
7e8b50d9e5 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.
2012-11-01 16:21:45 +02:00
Glenn Morris
7a8d34f74e Auto-commit of loaddefs files. 2012-11-01 06:19:27 -04:00
Glenn Morris
9f2881afe2 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.
2012-11-01 00:16:32 -07:00
Stephen Berman
b4b096e420 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
2012-11-01 10:25:08 +08:00
Glenn Morris
df43dd5361 * doc/misc/cl.texi: General copyedits for style, line-breaks, etc.
Replace "..." by @dots; car by @sc{car}, etc.
2012-10-31 21:44:50 -04:00
Glenn Morris
87b0d8b1d1 * doc/misc/cl.texi (Modify Macros, Function Bindings): Add some xrefs. 2012-10-31 17:04:28 -04:00
Glenn Morris
dd90fd1a45 Trivial ert.texi update for cl-lib namespace
* doc/misc/ert.texi (Introduction, The @code{should} Macro):
Refer to "cl-assert" rather than "assert".
2012-10-31 17:02:51 -04:00
Glenn Morris
88390adf40 * doc/lispref/control.texi (Catch and Throw): Add xref to cl.texi. 2012-10-31 17:00:57 -04:00
Glenn Morris
aec5e6f9fe * doc/lispref/lists.texi (Sets And Lists): Point xref to better location. 2012-10-31 17:00:13 -04:00
Glenn Morris
0d8e94e928 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.
2012-10-31 16:59:04 -04:00
Glenn Morris
5241598ae5 lispref xref update
* doc/lispref/modes.texi (Defining Minor Modes):
"Generalized Variables" section is now in this manual rather than cl.texi.
2012-10-31 16:56:55 -04:00
Glenn Morris
89b2c8a133 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.
2012-10-31 16:54:19 -04:00
Paul Eggert
5c6ce1c7d0 Spelling fixes. 2012-10-31 12:23:06 -07:00
Paul Eggert
322aea6ddf 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
2012-10-31 10:27:29 -07:00
Michael Albinus
220cb2bd70 * dbusbind.c: Fix cut'n'waste error. Use HAVE_DBUS_VALIDATE_INTERFACE. 2012-10-31 12:45:40 +01:00
Martin Rudalics
218e997a10 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).
2012-10-31 11:02:51 +01:00
Glenn Morris
69c1c2e65a 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.
2012-10-31 00:25:18 -07:00
Stefan Monnier
3618df4590 * lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
Rename from sh--inside-arithmetic-expression, handle more cases.

Fixes: debbugs:11263
2012-10-30 23:10:25 -04:00
Stefan Monnier
b08b6da7fe * lisp/progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
(sh-font-lock-open-heredoc): Use it.

Fixes: debbugs:12770
2012-10-30 22:45:34 -04:00
Glenn Morris
86a7968c86 Fix typo in earlier cl.texi change 2012-10-30 15:23:13 -04:00
Jan Djärv
02615da072 * frame.c (Fframe_pixel_height): Fix documentation.
Fixes: debbugs:12733
2012-10-30 19:28:48 +01:00
Michael Albinus
8728897105 * trouble.texi (Known Problems): Mention command `debbugs-gnu-usertags'. 2012-10-30 13:48:42 +01:00
Kenichi Handa
6ccc848cd8 merge trun 2012-10-30 20:38:37 +09:00
Kenichi Handa
aee5b18ec3 font.c (Ffont_at): If WINDOW is specified and it is not displaying the current buffer, signal an error. 2012-10-30 20:14:15 +09:00
Glenn Morris
fcc1acdadb Auto-commit of loaddefs files. 2012-10-30 06:18:56 -04:00
Glenn Morris
f43a5263c1 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.
2012-10-30 01:03:22 -07:00
Glenn Morris
516e1a08ce 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.
2012-10-30 00:54:17 -07:00
Glenn Morris
4ddedf94c8 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.
2012-10-30 00:34:37 -07:00
Chong Yidong
ce69a8443a Add a comment for the last isearch.el change. 2012-10-30 14:23:31 +08:00
Daniel Colascione
53372c278e Complete fix for build break 2012-10-29 19:10:52 -08:00
Daniel Colascione
7f590b0c3b Fix build break in non-Cygw32 Cygwin builds introduced in 2012-10-29T17:24:29Z!dancol@dancol.org. 2012-10-29 17:56:38 -08:00
Chong Yidong
e29e39c9c6 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.
2012-10-30 08:29:37 +08:00
Chong Yidong
fc83c2de54 Document dired-do-async-shell-command changes.
* dired.texi (Shell Commands in Dired): Document changes to the
dired-do-async-shell-command.
2012-10-30 07:48:02 +08:00
Chong Yidong
b5dd9a779b 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
2012-10-30 07:20:24 +08:00
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