Eli Zaretskii
8549f9e89b
Remove all references to buffer-file-type and related features.
...
src/xdisp.c (decode_mode_spec): Remove handling of %t.
lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
buffer-file-type.
lisp/mail/feedmail.el (feedmail-force-binary-write): Doc fix.
(feedmail-run-the-queue, feedmail-dump-message-to-queue)
(feedmail-send-it-immediately): Don't bind buffer-file-type, bind
coding-system-for-write instead.
lisp/jka-compr.el (jka-compr-write-region): Don't bind
buffer-file-type.
lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
buffer-file-type.
lisp/files.el (file-name-buffer-file-type-alist): Remove defvar.
(insert-file-contents-literally): Remove reference to
file-name-buffer-file-type-alist.
lisp/dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
make-obsolete.
(find-buffer-file-type-match, find-buffer-file-type): Remove.
(find-buffer-file-type-coding-system): Remove references to
find-buffer-file-type-match, find-buffer-file-type, and
buffer-file-type.
Don't put find-buffer-file-type-coding-system into
file-coding-system-alist.
(find-file-binary, find-file-text): Bind coding-system-for-read
instead of file-name-buffer-file-type-alist.
lisp/erc/erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.
doc/emacs/msdog.texi (Text and Binary): Delete the description of
file-name-buffer-file-type-alist.
doc/lispref/modes.texi (%-Constructs): Remove the description of %t.
doc/lispref/nonascii.texi (MS-DOS File Types): Delete node.
Fixes: debbugs:12989
2013-02-09 14:52:01 +02:00
Glenn Morris
2cdd55fc76
Auto-commit of generated files.
2013-02-09 06:17:59 -05:00
Tassilo Horn
f63f9398b3
* doc-view.el: Use (and prefer) soffice as default ODF->PDF
...
converter (Bug#13622). Patch provided by Jambunathan K
<kjambunathan@gmail.com>.
(doc-view-unoconv-program): Make obsolete variable.
(doc-view-odf->pdf-converter-program): New variable.
(doc-view-odf->pdf-converter-function): New variable.
(doc-view-mode-p): Use it.
(doc-view-odf->pdf-converter-unoconv): Rename from
`doc-view-odf->pdf-converter-unoconv'.
(doc-view-odf->pdf-converter-soffice): New function.
(doc-view-convert-current-doc): Use
`doc-view-odf->pdf-converter-function'.
2013-02-09 10:58:48 +01:00
Eli Zaretskii
6b48c83105
src/msdos.c (careadlinkatcwd): Remove.
2013-02-09 11:02:17 +02:00
Chong Yidong
123ecb68a0
Bind view-echo-area-messages in minibuffer-inactive-mode-map.
...
* help.el (view-echo-area-messages): Use display-buffer.
* minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
view-echo-area-messages.
Fixes: debbugs:13340
2013-02-09 13:52:20 +08:00
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