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

116079 commits

Author SHA1 Message Date
Kenichi Handa
d25f735b87 composite.c (composition_update_it): Fix previous change. 2014-01-19 22:26:21 +09:00
Michael Albinus
9367550017 * eshell/esh-mode.el (eshell-password-prompt-regexp):
Use `password-word-equivalents'.
(eshell-watch-for-password-prompt): Let-bind `case-fold-search'
to t.  (Bug#5664, Bug#13124)
2014-01-19 14:23:18 +01:00
Alan Mackenzie
e3af763f4d Bind open-paren-in-column-0-is-defun-start to nil at some entry points.
* progmodes/cc-engine.el (c-invalidate-state-cache-1)
(c-parse-state-1, c-guess-basic-syntax):  Bind it here.
* progmodes/cc-mode.el (c-before-change, c-after-change)
(c-font-lock-fontify-region): Bind it here.
2014-01-19 12:32:47 +00:00
Martin Rudalics
4ff6d92ddd In term-window-width call window-text-width instead of window-width (Bug#16470).
* term.el (term-window-width): Call window-text-width instead of
window-width (Bug#16470).
2014-01-19 10:24:26 +01:00
Paul Eggert
d70efef4a8 update-game-score fixes for -m and integer overflow
* update-game-score.c: Include inttypes.h, stdbool.h.
(min): New macro, if not already defined.
(MAX_SCORES, main): Limit the maximum number of scores only from
limits imposed by the underyling platform, instead of the
arbitrary value 200.
(struct score_entry, main, read_score, write_score):
Scores are now intmax_t, not long.
(get_user_id): Reject user names containing spaces or newlines,
as they would mess up the score file.
Allow uids that don't fit in 'long'.
Increase the size of the buffer, to avoid overrun in weird cases.
(get_prefix, main): Use bool for boolean.
(main): Rewrite expr to avoid possibility of signed integer
overflow.  Don't allow newlines in data, as this would mess up
the score file.  Check for memory allocation failure when adding
the new score, or when unlockint the file.  Implement -m.
(read_score): Check for integer overflow when reading a score.
(read_score) [!HAVE_GETDELIM]: Check for integer overflow when
data gets very long.  Check only for space to delimit names,
since that's what's done in the HAVE_GETDELIM case.
(read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
All uses changed.  Use push_score to add individual scores;
that's simpler than repeating its contents.
(score_compare_reverse): Simplify.
(push_score): New parameter SIZE.  Change counts to ptrdiff_t.
All uses changed.  Check for integer overflow of size calculation.
(sort_scores, write_scores): Change counts to ptrdiff_t.
(unlock_file): Preserve errno on success, so that storage
exhaustion is diagnosed correctly.

Fixes: debbugs:16428
2014-01-19 00:50:53 -08:00
Paul Eggert
9a685cf6bd * simple.el (password-word-equivalents): Remove duplicates.
Sort, to make this easier next time.
Downcase.  Omit ": " after "jelszó".
2014-01-18 14:23:38 -08:00
Steinar Bang
ee1a30fb07 lisp/gnus/gnus-setup.el (gnus-use-sendmail): We never use sendmail for mail reading 2014-01-18 20:46:53 +00:00
Jan Djärv
5aa78c2dba * lisp/term/common-win.el (saved-region-selection): Defvar it.
(x-select-text): Set saved-region-selection.

Fixes: debbugs:16382
2014-01-18 16:11:03 +01:00
Eli Zaretskii
5197f0c2fe Fix file name handling on MS-Windows 9X.
src/w32.c (maybe_load_unicows_dll): New function.
 src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
 on, to make sure we can convert file names to and from UTF-8 on
 Windows 9X.  This fixes a failure to start up because Emacs cannot
 find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
 src/w32font.c [WINDOWSNT]: Include w32.h.
 (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
 of implementing the same stuff.
 Remove now unused g_b_init_is_windows_9x.
 src/w32.h (maybe_load_unicows_dll): Add prototype.

 nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box
 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
 w32.c:maybe_load_unicows_dll and its callers for the reason.
2014-01-18 13:46:22 +02:00
Glenn Morris
812a093042 ChangeLog and Author: header comment fixes 2014-01-17 20:51:38 -05:00
Glenn Morris
381c14687b * lisp/emacs-lisp/authors.el (authors-aliases): Add more entries 2014-01-17 20:50:56 -05:00
Glenn Morris
cabb250c0d Add some entries to authors.el variables
* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-renamed-files-alist): Add some entries.
2014-01-17 20:29:25 -05:00
Glenn Morris
2e48fe3121 ChangeLog fixes 2014-01-17 20:27:51 -05:00
Michael Albinus
8953518079 Add :version tag to `tramp-password-prompt-regexp'. 2014-01-17 19:24:09 +01:00
Michael Albinus
a134044028 Fix Bug#13124.
* net/tramp.el (tramp-password-prompt-regexp): Use
`password-word-equivalents' if available.
(tramp-action-password, tramp-process-one-action)
(tramp-read-passwd): Let-bind `case-fold-search' to t.
2014-01-17 19:20:39 +01:00
Chong Yidong
681ce5d251 Fix Bug#13124.
* simple.el (password-word-equivalents): New defcustom.
* comint.el (comint-password-prompt-regexp): Use it.  Bump version to 24.4.
(comint-watch-for-password-prompt): Let-bind `case-fold-search' to t.
2014-01-17 17:45:45 +01:00
Bastien Guerry
502963bbf2 Revert 2014-01-17T13:05:09Z!bzg@gnu.org. 2014-01-17 15:58:34 +01:00
Bastien Guerry
2afb07b2e1 * simple.el (define-alternatives): Fix docstring by advising
developers to (defvar COMMAND-alternatives).
2014-01-17 14:05:09 +01:00
Bastien Guerry
1a98c36400 * building.texi (Commands of GUD): Fix keybinding for `gud-break'. 2014-01-17 13:43:51 +01:00
Eli Zaretskii
20adfbd8ea Provisional fix for bug #16479 with client connecting while in a TTY menu.
src/menu.c (Fx_popup_menu): When invoking tty_menu_show, temporarily
 switch to single keyboard.  Prevents daemon crashes when a new
 client connects while we show a TTY menu in an existing client.
2014-01-17 13:55:00 +02:00
Michael Albinus
160630163c Fix Bug#13662.
* automated/inotify-test.el (inotify-file-watch-simple): Skip test
case if inotify is not linked with Emacs.  Use `read-event' rather
than `sit-for' in order to process events.
2014-01-17 12:50:15 +01:00
Glenn Morris
b59e2fba12 * lisp/menu-bar.el: Fix author header comment
(accidentally omitted from previous commit)
2014-01-16 22:22:55 -05:00
Glenn Morris
d13bb153bf * lisp/emacs-lisp/authors.el (authors-aliases): Remove more unused entries
* lisp/leim/quail/tibetan.el, lisp/menu-bar.el: Fix author header comment.
2014-01-16 22:21:57 -05:00
Dmitry Gutov
fb3d479c91 ruby-mode: Align def...end to the beginning of statement
* lisp/progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
(ruby-align-to-stmt-keywords): Change the default value.  Use
`ruby-alignable-keywords' to generate the possible customization
choices.
(ruby-smie-rules): Instead of using a hardcoded list of alignable
keywords, check against the value of `ruby-alignable-keywords'
(http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2014-01-17 05:15:02 +02:00
Glenn Morris
fc23fe2d52 * lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
* lisp/jka-cmpr-hook.el, lisp/jka-compr.el, lisp/progmodes/antlr-mode.el:
* doc/misc/autotype.texi: Fix author header comments.

* lisp/org/ChangeLog: ChangeLog fix.
2014-01-16 21:59:24 -05:00
Glenn Morris
0d61348390 Make M-x authors return zero *Authors Errors* from current logs
* lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps):
(authors-ignored-files): Add some entries, remove others.
(authors-ambiguous-files, authors-valid-file-names): Add some entries.
(authors-renamed-files-alist): Add, remove, and adjust entries.
(authors-renamed-files-regexps): Add some entries.
Remove some very broad ones.  Make some entries `lax'.
(authors-lax-changelogs): New constant.
(authors-disambiguate-file-name): Treat top-level specially.
(authors-lax-changelog-p): New function.
(authors-canonical-file-name): Check file as written against
authors-valid-file-names.  Do not special-case etc/.
Handle `lax' logs and authors-renamed-files-regexps elements.

* admin/make-tarball.txt: Update for no expected *Authors Errors*.
2014-01-16 21:11:36 -05:00
Glenn Morris
56db2b1bfd ChangeLog fixes 2014-01-16 20:54:23 -05:00
Fabrice Niessen
b5ccc1beb3 * etc/themes/leuven-theme.el: Updates.
Fixes: debbugs:16442
2014-01-16 15:18:55 -05:00
Dmitry Gutov
39903fd1fc Finally make package-desc--keywords work
* lisp/emacs-lisp/package.el (package-desc--keywords): Use `nth'
  instead of `cdr'.
2014-01-16 18:44:17 +02:00
Eric S. Raymond
4d6df42066 Minor correction to admin/notes/bzr: *fourth* VCS, not third.
RCS -> CVS -> Bzr -> Git. And (as Stefan Monnier reports) "GNU Arch
was semi-officially used for a while between CVS and Bzr, tho not for
the main branch."
2014-01-16 10:05:18 -05:00
Dmitry Gutov
2dbf4ffdda * lisp/emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
`assoc'.  Make private.  Update all callers.
2014-01-16 14:23:14 +02:00
Glenn Morris
d967cd184c ChangeLog fixes 2014-01-16 00:34:43 -08:00
Glenn Morris
c5e24e666e * Makefile.in: Revert previous (presumably accidental) change 2014-01-16 00:30:12 -08:00
Paul Eggert
c91c771dbe Spelling fixes. 2014-01-15 22:24:06 -08:00
Eric S. Raymond
7da02a6769 On VCS-independent ways of identifying commits, and why they are desirable.
No code changes.
2014-01-16 00:50:26 -05:00
Stefan Monnier
87b2a7f2da * lisp/follow.el (follow-adjust-window): Remove `dest' argument.
Assume we're already in the proper buffer.
Inspired by Anders Lindgren <andlind@gmail.com>.
(follow-post-command-hook): Call it from the right buffer.
(follow-comint-scroll-to-bottom): Adjust call.
(follow-all-followers): Use get-buffer-window-list.

Fixes: debbugs:16426
2014-01-15 19:26:45 -05:00
Daniel Colascione
93acfb0eff Use whole file-name-history'. 2014-01-15 15:49:40 -08:00
Paul Eggert
c7880bc8f0 Fix copyright license notices for Adobe Unicode mapping files.
* charsets/mapfiles/README: The copied files are not compressed.
Check for copies as of today.
* charsets/mapfiles/stdenc.txt, charsets/mapfiles/symbol.txt:
Update from table version 0.2 (1999-03-30) to 1.0 (2011-07-12).
This doesn't change the table data, just copyright license notice.
The new notices are compatible with the GPL, the old ones were not.
2014-01-15 11:38:44 -08:00
Glenn Morris
630395d1f6 Small doc/ copyedits
* doc/emacs/files.texi (File Conveniences):
* doc/emacs/misc.texi (EWW): Copyedits.

* doc/misc/Makefile.in (eww_deps): Does not depend on emacsver.texi.

* doc/misc/eww.texi: Comment.
2014-01-15 13:27:51 -05:00
Eli Zaretskii
fa9daa2852 src/ChangeLog: Fix typos. 2014-01-15 19:56:40 +02:00
Glenn Morris
c6c863df8d ChangeLog fixes 2014-01-15 00:49:38 -08:00
Juri Linkov
ccc6b208d5 * lisp/indent.el (indent-rigidly): Set deactivate-mark to nil
in transient indentation mode.

Fixes: debbugs:16438
2014-01-15 10:22:41 +02:00
Dmitry Gutov
5c92e00da4 * lisp/emacs-lisp/package.el (package-desc-keywords): New function.
(describe-package-1, package-all-keywords)
(package--has-keyword-p): Use it.

Fixes: debbugs:16222
2014-01-15 06:58:06 +02:00
Glenn Morris
39c871402f ChangeLog fixes 2014-01-14 22:06:07 -05:00
Nicolas Richard
dac696602d simple.el (define-alternatives): Add 'definition-name to COMMAND-alternatives
* simple.el (define-alternatives): When creating the
COMMAND-alternatives variable, assign COMMAND as its definition
name so that `describe-variable' can relocate it.

See http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01340.html
2014-01-14 23:30:42 +01:00
Matthew Leach
8b63edf8c6 font-lock.el (font-lock-keywords): Fix typo in docstring
* font-lock.el (font-lock-keywords): Fix typo in docstring
(bug#16307).
2014-01-14 21:37:28 +01:00
Paul Eggert
d9784824e2 Space before paren, updating recent change. 2014-01-14 09:59:19 -08:00
Agustín Martín
c6a0b8eb25 ispell.el (ispell-region): Reset in-comment' for new line instead of add-coment' (bug#13577). 2014-01-14 11:50:28 +01:00
Daiki Ueno
02bf443d2e * epa-file.el: Respect buffer-file-format when writing
* epa-file.el (epa-file-write-region): Encode the region according
to `buffer-file-format'.  Problem reported at:
<http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2014-01-14 17:41:09 +09:00
Glenn Morris
689c9ca51e ChangeLog fixes 2014-01-14 00:13:13 -08:00