1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

110344 commits

Author SHA1 Message Date
Stefan Monnier
e7f7cb1aa3 * lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
backquotes for `obsolete'.

Fixes: debbugs:13929
2013-03-12 22:19:31 -04:00
Stefan Monnier
175600dafc * lisp/international/mule.el (find-auto-coding): Include file name in
obsolescence warning.

Fixes: debbugs:13922
2013-03-12 22:08:33 -04:00
Paul Eggert
9e3edd30c3 * movemail.c: Don't grant more read permissions than necessary.
The old 0333 dates back to before we called setuid,
so it was needed back then to ensure user-readability,
but 0377 should suffice now.
2013-03-12 18:05:40 -07:00
Paul Eggert
f58afc72bd * movemail.c (main): Call umask on all systems.
This is OK since Emacs already assumes umask elsewhere.
2013-03-12 17:54:47 -07:00
Paul Eggert
5615c9a9af Merge from gnulib.
This incorporates:
2013-03-12 mktime: fix configure typo
2013-03-11 regex: port to mingw's recent addition of undeclared alarm
2013-03-11 putenv: avoid compilation warning on mingw
2013-03-11 unistd: don't prevent Tru64 Unix from using gnulib strtod.
2013-03-12 17:38:42 -07:00
Paul Eggert
84c3ab6860 Mention etc/HELLO. 2013-03-12 16:53:35 -07:00
Paul Eggert
4ef8c23161 Remove incorrect comment about hanja3.el. 2013-03-12 13:54:53 -07:00
Paul Eggert
5c592c9a1a Add coding tags for iso-2022-7bit files that are not already tagged.
* HELLO, tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Add coding tag.  For TUTORIAL.th this prevents Emacs from
misinterpreting the file.
2013-03-12 09:53:31 -07:00
Ted Zlatanov
ca68a22e64 * progmodes/cfengine.el: add CFEngine 3-specific indentation. 2013-03-12 11:49:26 -04:00
Paul Eggert
48b9bb83f2 Prefer UTF-8 in documentation. 2013-03-11 19:40:08 -07:00
Paul Eggert
932e8ec6f3 Prefer UTF-8 in commentary. 2013-03-11 19:25:36 -07:00
Stefan Monnier
940e509914 Use locate-user-emacs-file.
* lisp/type-break.el (type-break-file-name):
* lisp/textmodes/remember.el (remember-data-file):
* lisp/strokes.el (strokes-file):
* lisp/shadowfile.el (shadow-initialize):
* lisp/saveplace.el (save-place-file):
* lisp/ps-bdf.el (bdf-cache-file):
* lisp/progmodes/idlwave.el (idlwave-config-directory):
* lisp/net/quickurl.el (quickurl-url-file):
* lisp/international/kkc.el (kkc-init-file-name):
* lisp/ido.el (ido-save-directory-list-file):
* lisp/emulation/viper.el (viper-custom-file-name):
* lisp/emulation/vip.el (vip-startup-file):
* lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
* lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2013-03-11 22:08:21 -04:00
Paul Eggert
cc72580827 Switch encodings of tutorials, thai-word to UTF-8.
* etc/refcards/ru-refcard.tex:
* etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.cn:
* etc/tutorials/TUTORIAL.cs, etc/tutorials/TUTORIAL.de, etc/tutorials/TUTORIAL.eo:
* etc/tutorials/TUTORIAL.es, etc/tutorials/TUTORIAL.fr, etc/tutorials/TUTORIAL.it:
* etc/tutorials/TUTORIAL.nl, etc/tutorials/TUTORIAL.pl, etc/tutorials/TUTORIAL.pt_BR:
* etc/tutorials/TUTORIAL.ro, etc/tutorials/TUTORIAL.sk, etc/tutorials/TUTORIAL.sv:
* etc/tutorials/TUTORIAL.zh:
* lisp/language/thai-word.el:
Switch to UTF-8.

Fixes: debbugs:13880
2013-03-11 18:14:08 -07:00
Paul Eggert
2b0fae5e18 * admin/notes/unicode: Fix "the these" typo. 2013-03-11 15:35:04 -07:00
Paul Eggert
1b610f5143 * notes/unicode: Improve notes about Emacs source file encoding. 2013-03-11 15:32:07 -07:00
Stefan Monnier
e56221d550 * lisp/recentf.el (recentf-save-file): Use locate-user-emacs-file.
Fixes: debbugs:13870
2013-03-11 16:37:00 -04:00
Thierry Volpiatto
c6bdd11071 * lisp/net/net-utils.el (net-utils-remove-ctrl-m-filter):
Use with-current-buffer and don't move point.
(net-utils-run-simple): Remove useless code.
(net-utils-remove-ctl-m): Remove unused custom.
2013-03-11 14:30:49 -04:00
Per Starbäck
bd3921f0b8 * lisp/international/characters.el (glyphless-set-char-table-range): New fun.
(update-glyphless-char-display): Use it.

Fixes: debbugs:13744
2013-03-11 13:45:23 -04:00
Ted Zlatanov
ccc4f9f186 Update ChangeLog for 2013-03-11T17:17:13Z!tzz@lifelogs.com. 2013-03-11 13:21:31 -04:00
Ted Zlatanov
526cb962b5 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher. 2013-03-11 13:17:13 -04:00
Jean-Philippe Gravel
6ff2c8f1fe * lisp/progmodes/gdb-mi.el: Speed up initialization. Use lexical-binding.
Fix up docstring according to conventions.
(gdbmi-debug-mode): New var.
(gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
(gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
(gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
(gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
(gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
(gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
(gdbmi-bnf-incomplete-record-result): New functions.
(gdb-car<): Remove function.
(gdbmi-record-list): Remove variable.
(gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
(gdbmi-bnf-result-state-configs): New const.
(gud-gdbmi-marker-filter): Rewrite.
(gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
(gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
Add `token' argument.
(gdb-done, gdb-error): New functions.
(gdb-done-or-error): Add `is-complete' argument.  Change arg order.

Fixes: debbugs:10580
2013-03-11 13:13:39 -04:00
Ted Zlatanov
b388e7ad07 * control.texi (Pattern matching case statement): Fix typo. 2013-03-11 13:05:30 -04:00
Glenn Morris
ae0d461554 Merge from emacs-24; up to 2012-12-25T17:37:29Z!eliz@gnu.org 2013-03-11 09:31:55 -07:00
Stefan Monnier
2523c845da * lisp/term/xterm.el (xterm--report-background-handler): Don't burp
upon timeout.
(xterm--version-handler): Extract from terminal-init-xterm.
(xterm--query): Don't mishandle timeout.  Remove debugging messages.
Allow multiple handlers.
(terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.

Fixes: debbugs:6758
2013-03-11 10:08:44 -04:00
Glenn Morris
c69f46735f Small updates for make-manuals admin scripts
* admin/admin.el (make-manuals): Add emacs-lisp-intro and some more
doc/misc manuals.
(manual-html-mono, manual-html-node, manual-txt): Pass -I to makeinfo.
2013-03-11 01:09:21 -07:00
Stefan Monnier
9b59398006 * lisp/term/xterm.el: Don't discard input. Use lexical-binding.
(xterm--report-background-handler, xterm--query): New functions.
(terminal-init-xterm): Use them.

Fixes: debbugs:6758
2013-03-11 00:24:15 -04:00
Michael Mauger
e18e61cf27 * progmodes/sql.el Version 3.2
Please note that my address changed to <michael@mauger.com>; the
<mmaug@yahoo.com> address remains active.
(sql-connection-alist): Updates documentation to fix bug#13715.
(sql-connect): Handle missing `sql-connection-alist' correctly.
(sql-mode-oracle-font-lock-keywords): Add missing keywords.
(sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
property.
(sql-default-value): New function.
(sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
values were not used.
(sql-rename-buffer): Make sure alternate buffer name has no text
properties.
(sql-input-sender, sql-execute-feature): Fetch variable with
`buffer-local-value' rather than `with-current-buffer'.
(sql-*): Use #' function syntax consistently.
(sql-*): Use message/error/user-error consistently.
2013-03-11 00:09:37 -04:00
Paul Eggert
307d0e95ee Spelling fixes. 2013-03-10 21:07:45 -07:00
Paul Eggert
cb0290dfa2 * insdel.c (adjust_after_replace): Use bool for boolean. 2013-03-10 21:02:06 -07:00
Stefan Monnier
25c09217a0 * lisp/xt-mouse.el (xterm-mouse-event-read): Remove.
(xterm-mouse--read-event-sequence-1000)
(xterm-mouse--read-event-sequence-1006): Use read-event instead.
2013-03-10 22:56:18 -04:00
Glenn Morris
24958590a0 Add 24.3 release to ChangeLogs 2013-03-10 19:35:23 -07:00
Stefan Monnier
cbae07d5e0 * src/keyboard.c: Move keyboard decoding to read_key_sequence.
(decode_keyboard_code): Remove.
(tty_read_avail_input): Don't try to decode input.
(read_decoded_char): New function.
(read_key_sequence): Use it.
2013-03-10 21:17:40 -04:00
Daniel Colascione
819e2da92a 2013-03-10 Daniel Colascione <dancol@dancol.org>
* w32term.h (GUISTR, GUI_ENCODE_FILE, GUI_ENCODE_SYSTEM, GUI_FN)
	(GUI_SDATA, guichar_t): Macros to abstract out differences between
	NTGUI_UNICODE and !NTGUI_UNICODE builds, some moved out of
	w32fns.c.

	* w32term.c (construct_drag_n_drop): Use the above macros to make
	drag-and-drop work for non-ASCII filenames in cygw32 builds.

	* w32fns.c (x_set_name, x_set_title): Use the above macros to
	properly display non-ASCII frame titles in cygw32 builds.

	* w32fns.c (Fw32_shell_execute): Use the above macros to properly
	call ShellExecute in cygw32 builds.

	* w32fn.c (Fx_file_dialog): Use the above macros to simplify the
	common file dialog code.

	* w32fns.c (Ffile_system_info): Remove from cygw32 builds, which
	can just use du like other systems.

	* coding.c (from_unicode_buffer): Declare.
	* coding.c (from_unicode_buffer): Implement.
2013-03-10 14:55:25 -08:00
Stefan Monnier
d2e24f924a * src/lread.c: Minor cleanup.
(FROM_FILE_P): New macro.
(skip_dyn_bytes, unreadchar, read1): Use it.
(read_list): Consolidate duplicated code.
2013-03-10 17:52:01 -04:00
Stefan Monnier
99ec16475a * src/bytecode.c (struct byte_stack): Remove `constants' when unused. 2013-03-10 17:46:55 -04:00
Stefan Monnier
d3e9f3a843 * lisp/term/xterm.el (xterm-function-map): Support format used with
formatOtherKeys=1.

Fixes: debbugs:13839
2013-03-10 17:44:31 -04:00
Stefan Monnier
17f323276b * lisp/emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
(with-no-warnings): Use `declare'.
2013-03-10 17:40:55 -04:00
Stefan Monnier
33f5bc1cbc * lisp/whitespace.el (whitespace-enable-predicate): New variable.
(whitespace-enable-predicate): Use it.
2013-03-10 17:39:11 -04:00
Stefan Monnier
d0ebc8269f * lisp/comint.el: Use with-silent-modifications.
(comint-send-input, comint-snapshot-last-prompt)
(comint-output-filter, comint-update-fence): Use with-silent-modifications.
2013-03-10 17:37:42 -04:00
Eli Zaretskii
138c0ae83d Use macros from dispextern.h where appropriate.
src/xdisp.c (display_tool_bar_line, redisplay_tool_bar)
 (redisplay_internal, set_cursor_from_row, try_window)
 (try_window_id, dump_glyph_row, extend_face_to_end_of_line)
 (display_line, notice_overwritten_cursor)
 (mouse_face_from_buffer_pos, note_mouse_highlight): Use
 MATRIX_ROW_DISPLAYS_TEXT_P.
 (note_mouse_highlight): Use MATRIX_ROW_GLYPH_START.
 (mouse_face_from_string_pos, fast_find_string_pos): Use
 MATRIX_ROW_VPOS.
 src/xfns.c (Fx_show_tip): Use MATRIX_ROW_DISPLAYS_TEXT_P.
 src/w32fns.c (Fx_show_tip): Use MATRIX_ROW_DISPLAYS_TEXT_P.
 src/xdisp.c (try_cursor_movement): Use MATRIX_ROW and
 MATRIX_MODE_LINE_ROW.
 src/dispnew.c (update_window): Use MATRIX_ROW and MATRIX_MODE_LINE_ROW.
2013-03-10 19:28:04 +02:00
Kenichi Handa
7d051e2154 Fix previous change. 2013-03-11 00:06:04 +09:00
Kenichi Handa
a6ebf83d90 merge trunk 2013-03-10 23:43:58 +09:00
Kenichi Handa
c230dd7d89 On file insertion, skip decoding if all bytes are ASCII. 2013-03-10 23:36:35 +09:00
Jambunathan K
45ba025e53 Provide for customizing default regexp in occur commands (Bug#13892).
* lisp/replace.el (occur-read-regexp-defaults-function): New var.
(occur-read-regexp-defaults): New defun.
(occur-read-primary-args): Propagate above change.
2013-03-10 14:14:07 +05:30
Glenn Morris
1a7bceef7a * admin/admin.el (add-release-logs): Use UTC for release date. 2013-03-09 18:18:49 -08:00
Glenn Morris
6b88120b11 Fix typo in previous 2013-03-09 18:15:08 -08:00
Glenn Morris
9e4a1ee063 Add note about release candidate 2013-03-09 18:14:29 -08:00
Jay Belanger
f6817529b4 * doc/misc/calc.texi (Basic Operations on Units): Streamline some
descriptions.
2013-03-09 17:36:02 -06:00
Glenn Morris
78cd48e721 * admin.el: Comment
Add missing ChangeLog portion for previous change.
2013-03-09 12:22:27 -08:00
Glenn Morris
8c39e82174 * admin/admin.el (add-release-logs): Provide interactive defaults.
Allow specification of the release date.
2013-03-09 12:19:41 -08:00