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

109917 commits

Author SHA1 Message Date
Chong Yidong
044a9eac4e * dired-x.el (dired-do-run-mail): Prompt for confirmation.
Fixes: debbugs:13561
2013-02-09 13:09:02 +08:00
Paul Eggert
c516d21a88 * sedlibmk.inp: Sync with changes in lib/Makefile.in.
(HAVE_SECURE_GETENV, GNULIB_SECURE_GETENV): Edit to appropriate values.
2013-02-08 15:45:43 -08:00
Paul Eggert
8376d87efc Merge from gnulib. 2013-02-08 15:37:17 -08:00
Paul Eggert
e70e5000f0 * movemail.c (getenv): Remove decl (unused since 1994). 2013-02-08 15:28:29 -08:00
Stefan Monnier
75a65c7eb4 * src/lread.c (skip_dyn_bytes): New function.
(read1): Use it.  Use getc instead of READCHAR to read bytes.
(load_each_byte): Remove.  Update users.

Fixes: debbugs:12598
2013-02-08 12:42:09 -05:00
Glenn Morris
078891963d Merge from emacs-24; up to 2012-12-14T21:27:39Z!rgm@gnu.org 2013-02-08 09:23:24 -08:00
Glenn Morris
9079056058 Remove old TODO item - user-error was added 2013-02-08 09:14:58 -08:00
Glenn Morris
61c3528043 Remove longlines entry (bug#13652) 2013-02-08 09:13:46 -08:00
Glenn Morris
7bd007246e keymaps.texi tweak
* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
2013-02-08 09:13:06 -08:00
Stefan Monnier
7f526211ba * lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
Eval body right away, now that we do eager macroexpansion.

Fixes: debbugs:13605
2013-02-08 11:17:18 -05:00
Stefan Monnier
c9586acc97 * lisp/simple.el (end-of-buffer): Don't touch unrelated windows.
(fundamental-mode): Use run-mode-hooks.

Fixes: debbugs:13466
2013-02-08 10:53:49 -05:00
Stefan Monnier
91554659b8 * leim/quail/latin-ltx.el: Add greek superscripts. 2013-02-08 10:48:36 -05:00
Stefan Monnier
1a60168030 * lisp/eshell/esh-proc.el (eshell/kill): Fix last change.
* lisp/eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2013-02-08 10:47:07 -05:00
Aidan Gauland
276a61a690 * lisp/eshell: Minor fixes.
* lisp/eshell/em-ls.el (show-almost-all): Declare.
(eshell-do-ls): Add support for -A argument.
* lisp/eshell/esh-proc.el (eshell/kill): Rewrite.
2013-02-08 10:07:03 -05:00
Aidan Gauland
dacbc44ca3 * doc/misc/eshell.texi: Fill most of the missing sections. 2013-02-08 09:59:24 -05:00
Dmitry Antipov
8ca3092052 * search.c (scan_buffer): Calculate end byte position just once.
(scan_newline): Do not recalculate start_byte.
(search_command): Use eassert.
* syntax.c (struct lisp_parse_state): New member location_byte.
(scan_sexps_forward): Record from_byte and avoid redundant
character to byte position calculation ...
(Fparse_partial_sexp): ... here.  Break too long line.
2013-02-08 18:44:53 +04:00
Aidan Gauland
c7205e5387 * doc/misc/eshell.texi: Fill most of the missing sections. 2013-02-08 09:44:17 -05:00
Eli Zaretskii
c220ea73ff src/xdisp.c: Fix commentary of display_count_lines. 2013-02-08 16:27:04 +02:00
Jambunathan K
6130b96ae7 * lisp/icomplete.el (icomplete-forward-completions)
(icomplete-backward-completions): Handle corner case.

Fixes: debbugs:13602
2013-02-08 09:53:55 +02:00
Dmitry Antipov
25721f5bb5 * lisp.h (make_uninit_vector): New function.
* alloc.c (Fvector, Fmake_byte_code):
* ccl.c (Fregister_ccl_program):
* charset.c (Fdefine_charset_internal, define_charset_internal):
* coding.c (make_subsidiaries, Fdefine_coding_system_internal):
* composite.c (syms_of_composite):
* font.c (Fquery_font, Ffont_info, syms_of_font):
* fontset.c (FONT_DEF_NEW, Fset_fontset_font):
* ftfont.c (ftfont_shape_by_flt):
* indent.c (recompute_width_table):
* nsselect.m (clean_local_selection_data):
* syntax.c (init_syntax_once):
* w32unsubscribe.c (uniscribe_shape):
* window.c (Fcurrent_window_configuration):
* xfaces.c (Fx_family_fonts):
* xselect.c (selection_data_to_lisp_data): Use it.
2013-02-08 09:28:52 +04:00
Dmitry Antipov
9a9d91d9c2 * coding.c (Fdefine_coding_system_internal): Use AREF where
argument is known to be a vector.
* fns.c (Flocale_info): Likewise for ASET.
* xselect.c (selection_data_to_lisp_data): Likewise for ASET.
* w32fns.c (w32_parse_hot_key): Likewise for ASIZE and AREF.
2013-02-07 20:09:04 +04:00
Michael Albinus
fed000725c * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
be nil.  Handle this.  (Bug#13636)
2013-02-07 09:50:04 +01:00
Glenn Morris
025875980c Merge from emacs-24; up to 2012-12-14T15:38:50Z!monnier@iro.umontreal.ca 2013-02-07 00:31:21 -08:00
Richard M. Stallman
469c5a60ab Force saving without encoding, regardless of current message. 2013-02-07 03:04:05 -05:00
Glenn Morris
4d34e0a7bf Regenerate AUTHORS and ldefs-boot.el 2013-02-07 00:03:47 -08:00
Glenn Morris
a8e4d516cc ChangeLog author fix 2013-02-06 23:40:58 -08:00
Bastien Guerry
d351707783 Merge Org 7.9.3e (commit b07a9bb). 2013-02-07 08:11:59 +01:00
Glenn Morris
8c4b24b2ab Merge from emacs-24; up to 2012-12-14T15:22:24Z!monnier@iro.umontreal.ca 2013-02-06 22:23:54 -08:00
Glenn Morris
e364bc673c Auto-commit of generated files. 2013-02-07 01:16:17 -05:00
Glenn Morris
4e0b84797f Bump version number to 24.2.93 2013-02-06 22:15:20 -08:00
Glenn Morris
925baaa91d mouse.el comment 2013-02-06 20:54:50 -05:00
Gabor Vida
17d14f7e29 * auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
in replacement text.

Fixes: debbugs:13637
2013-02-06 20:53:26 -05:00
Nicolas Richard
55b056bacf * emacs-lisp/package.el (describe-package-1): Tell what archive is used to
install the package.

Patch by Nicolas Richard.
2013-02-06 17:10:13 +01:00
Glenn Morris
5fd03926b3 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
if we can't get user input.

Fixes: debbugs:6567
2013-02-06 00:27:41 -08:00
Glenn Morris
efad91eca2 ChangeLog date fix (do not merge to trunk) 2013-02-05 20:37:28 -08:00
Glenn Morris
1e934b8484 * doc/misc/cl.texi (Equality Predicates): Mention memql. 2013-02-05 20:36:44 -08:00
Glenn Morris
e86762ec41 * lisp/startup.el (command-line): If simple.el is missing,
test and warn about for some possible causes.
2013-02-05 21:03:35 -05:00
Daniel Colascione
b8f7436616 Backport fix for execvp issue from trunk 2013-02-05 15:52:03 -08:00
Glenn Morris
bc090916ed Relocate NEWS entry from 24.3 section to 24.4 where it belongs 2013-02-05 09:01:25 -08:00
Jan Djärv
ef12b77ced * NEWS: Mention ns-use-native-fullscreen. 2013-02-05 13:21:55 +01:00
Jan Djärv
6871e574da * lisp/cus-start.el (all): Add ns-use-native-fullscreen.
* src/nsmenu.m (update_frame_tool_bar): Check for negative tool bar
height.

* src/nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7.
(EmacsView): Add fs_is_native, fsIsNative, isFullscreen and
updateCollectionBehaviour.

* src/nsterm.m (NEW_STYLE_FS): Remove.
(ns_last_use_native_fullscreen): New variable.
(x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen.
(x_set_window_size): Do not take title bar and tool bar into account
if isFullscreen returns YES.
(ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen.
(check_native_fs): New function.
(ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS.
(ns_term_init): Remove NEW_STYLE_FS.
(updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar
and tool bar if isFullscreen returns NO.
(windowDidResize:): Replace NEW_STYLE_FS with fsIsNative.
(initFrameFromEmacs:): Initialize fs_is_native.  Replace NEW_STYLE_FS
with HAVE_NATIVE_FS.
(window:willUseFullScreenPresentationOptions:): New method.
(windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative.
Hide toolbar if not enabled.
(windowDidExitFullScreen:): Call updateCollectionBehaviour.
Restore tool bar if enabled, hide it otherwise (Bug#13444).
(fsIsNative, isFullscreen, updateCollectionBehaviour): New methods.
(toggleFullScreen:): If fs_is_native, call toggleFullScreen on
window.  Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0.
Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring
FRAME_TOOLBAR_HEIGHT (f).  Call updateFrameSize when going non-fs.
(syms_of_nsterm): Add ns-use-native-fullscreen.
2013-02-05 13:16:35 +01:00
Glenn Morris
ed746aa721 * lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry. 2013-02-04 21:12:58 -05:00
Glenn Morris
b687d65a02 Fix indentation in previous 2013-02-04 21:06:53 -05:00
Glenn Morris
3505fa027b gamegrid-add-score-with-update-game-score fix
* lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score):
Fix directory creation in fallback case.
2013-02-04 21:03:51 -05:00
Thierry Volpiatto
50fdf39987 * lisp/vc/vc.el (vc-next-action): Fix inf-loop.
(vc-update-change-log): Use dolist.

Fixes: debbugs:13610
2013-02-04 16:23:15 -05:00
Paul Eggert
3f011c7f7c * fileio.c (Qchoose_write_coding_system): Now static. 2013-02-04 08:33:30 -08:00
Eli Zaretskii
86f7c0fe60 Fix bugs #13623 and 13626 caused by changes in 2013-02-01T07:23:18Z!dmantipov@yandex.ru.
src/xdisp.c (window_buffer_changed): region_showing can be negative,
 which still means region is being displayed.
 (redisplay_internal): Resurrect code that forced redisplay of the
 whole window when showing region and the mark has changed.  Record
 the new mark position to allow redisplay optimizations.
 (display_line): If it->region_beg_charpos is non-zero, set the
 window's region_showing member to -1.
 src/window.h (struct window) <region_showing>: Declare ptrdiff_t,
 not bitfield of 1 bit.
2013-02-04 17:39:55 +02:00
Chong Yidong
6e5c1569e9 Merge FFAP's URI-detection code into thingatpt.el.
* lisp/ffap.el: Require thingatpt.
(ffap-url-at-point): Delegate URI detection to thing-at-point.
All URI-valid characters are now recognized.
(ffap-string-at-point): Use use-region-p.
(ffap-url-regexp): Extra character is handled by thing-at-point.
(ffap-string-at-point-mode-alist): Allow parentheses.
(ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
Convert to aliases; code moved to thingatpt.el.
(ffap-gnus-hook): Use setq-local.

* lisp/thingatpt.el: Rewrite the URL detection routines, absorbing some
code from ffap.el.
(thing-at-point-beginning-of-url-regexp): New var.
(thing-at-point-uri-schemes): Update list of URI schemes.
(thing-at-point-url-regexp): Variable deleted.
(thing-at-point-markedup-url-regexp): Disallow newlines.
(thing-at-point-newsgroup-regexp)
(thing-at-point-newsgroup-heads)
(thing-at-point-default-mail-uri-scheme): New variables.
(thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
method to find the possible bounds of the URI at point.  New
optional argument to find ill-formed URIs.
(thing-at-point-url-at-point): Rewrite.  New arguments for finding
ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
the scheme-adding heuristics from ffap-url-at-point.
(thing-at-point--bounds-of-well-formed-url): New function.  Do
parens matching to decide whether to include parens in the URI

* test/automated/thingatpt.el: New file.

Fixes: debbugs:5673
2013-02-04 20:02:25 +08:00
Glenn Morris
84a06b500f ert--explain-format-atom fix for non-characters
* lisp/emacs-lisp/ert.el (ert--explain-format-atom):
Don't try to print non-characters as characters.

Fixes: debbugs:13543
2013-02-03 23:46:22 -08:00
Glenn Morris
463d631919 ede.texi typo fixes 2013-02-03 19:07:26 -08:00