1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

116112 Commits

Author SHA1 Message Date
Stephen Berman
95fab4ba13 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
refer to the Todo mode Info manual.  Update the comment on
requiring cl-lib.
(todo-find-filtered-items-file): Add todo-prefix overlays.
(todo-filter-items): Reorder a let-bound variable to avoid a
wrong-type-argument error on canceling the file choice dialog.
2014-07-04 17:53:25 +02:00
Jan Djärv
8069993ef7 Backport from trunk.
* xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
only if xic_style calls for it.  This change allows Emacs to work
with ibus.  Also, don't leak resources if create_frame_xic fails,
and stop caching xic_style across different displays.
(supported_xim_styles): Make const.
(best_xim_style): Remove first parameter: it's always just
supported_xim_styles.  Change to look at supported_xim_styles
directly.

Fixes: debbugs:17928
2014-07-04 17:15:02 +02:00
Eli Zaretskii
5b5953c070 Fix bug #17905 with display of point in partially visible line at end of window.
src/xdisp.c (redisplay_window): If redisplay of a window ends up
 with point in a partially visible line at end of the window, make
 sure the amended position of point actually has smaller Y
 coordinate; if not, give up and scroll the display.
 src/window.c (window_scroll_pixel_based): When point ends up at the
 last fully visible line, don't let move_it_to stop at the left
 edge of the line and dupe us into thinking point is inside the
 scroll margin.
2014-07-04 16:22:04 +03:00
Eli Zaretskii
f0f34bc8b9 src/w32.c (network_interface_info): Make sure the argument is a Lisp string. 2014-07-04 10:40:08 +03:00
Eli Zaretskii
c247c7753e Minor updates in etc/TODO and etc/NEWS.
etc/TODO: Remove items that were already done.  Rearrange a few
 items that are closely related.  Update a couple of items with new
 information.
 etc/NEWS: Mention 'network-interface-list' and 'network-interface-info'
 being available on MS-Windows.
2014-07-04 10:35:22 +03:00
Stefan Monnier
7fe2ae6720 * lisp/progmodes/octave.el (inferior-octave-mode):
Set comint-input-ring-size to a number.

Fixes: debbugs:17912
2014-07-03 21:35:23 -04:00
Juri Linkov
f35b80810d * doc/emacs/search.texi (Regexp Search): Update lax space matching that is
not active in regexp search by default now.

Fixes: debbugs:17901
2014-07-04 02:52:42 +03:00
Juri Linkov
8abe20426b * lisp/desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
and `isearch-mode' associated with nil.

Fixes: debbugs:17849
2014-07-04 02:48:24 +03:00
Stefan Monnier
22c49c9acb * etc/NEWS: Fix description of incompatible change in `read-char'. 2014-07-03 12:29:22 -04:00
Juri Linkov
cbb6a7aeff * lisp/desktop.el (desktop-save): Rename arg auto-save' to only-if-changed'.
Doc fix.

Fixes: debbugs:17873
2014-07-03 02:45:12 +03:00
Stefan Monnier
4991d13037 * mouse.el (mouse-yank-primary, mouse-yank-secondary): Use insert-for-yank.
Fixes: debbugs:17271
2014-07-02 10:42:00 -04:00
Leo Liu
cc4f9c83bc * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
Support lexical-binding.
2014-07-02 13:05:50 +08:00
Eli Zaretskii
cdadeecf05 src/dispnew.c: Fix a typo in a comment. 2014-07-01 21:00:29 +03:00
Eli Zaretskii
ff6e6a42fc Fix bug #17892 with mode/header line and display margins.
src/dispnew.c (prepare_desired_row): Accept 2 additional arguments:
 the window whose glyph row is being prepared and a flag whether it
 is for mode/header line.  Make sure the glyph row's marginal areas
 are in sync with what the window wants.
 src/xdisp.c (display_line, display_mode_line): Call
 prepare_desired_row with additional arguments, as appropriate.
 src/dispextern.h (prepare_desired_row): Adjust prototype.
 src/window.h: Improve commentary of the marginal columns.
2014-07-01 20:07:24 +03:00
Stefan Monnier
3737a8efcf * lisp/vc/log-edit.el (log-edit-goto-eoh): New function.
(log-edit--match-first-line): Use it.

Fixes: debbugs:17861
2014-07-01 11:15:03 -04:00
Dmitry Antipov
39a61a22ed Fix ChangeLog entry 2014-07-01 18:51:26 +04:00
Glenn Morris
b14d27ca8f Auto-commit of loaddefs files. 2014-07-01 07:19:31 -04:00
Dmitry Antipov
9714dfd285 * menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crash
caused by xw_popup_dialog in daemon mode (Bug#17891).
2014-07-01 12:07:32 +04:00
Dmitry Antipov
34ac10a87b * xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889). 2014-07-01 11:30:33 +04:00
Glenn Morris
3f4d0f042a * lisp/vc/log-edit.el (log-edit-hook): Add missing :version. 2014-07-01 00:00:46 -07:00
Fabián Ezequiel Gallina
3acd6262d9 * lisp/progmodes/python.el (python-indent-post-self-insert-function):
Enhancements to electric indentation behavior inside
parens.

* test/automated/python-tests.el
(python-tests-self-insert): New function.
(python-triple-quote-pairing): Use it.
(python-util-forward-comment-1): New test. (Bug#17658)
2014-07-01 00:54:11 -03:00
Stefan Monnier
64c11219d1 * lisp/ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
buffer-invisibility-spec.

Fixes: debbugs:17867
2014-06-30 22:25:52 -04:00
Eli Zaretskii
1e23f9f308 Fix bug #17875 with changing TTY frame size, then selecting new frame.
src/frame.c (do_switch_frame): When switching to another TTY frame,
 make sure FrameCols and FrameRows are in sync with the new frame's
 data.
2014-06-30 19:45:38 +03:00
Andreas Schwab
becc9e3c3f * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".
2014-06-29 22:48:55 +02:00
Glenn Morris
a27e8c78c0 Doc and comment fixes re "online" help
* doc/emacs/help.texi (Misc Help):
* doc/emacs/trouble.texi (Checklist):
* doc/lispintro/emacs-lisp-intro.texi (Note for Novices, Finding More)
(Conclusion):
* doc/lispref/help.texi (Help Functions):
* doc/misc/info.texi, doc/misc/mh-e.texi:
* etc/refcards/calccard.tex (section{Getting Help}):
* lisp/cus-edit.el (help):
* lisp/finder.el (finder-known-keywords):
* lisp/help.el (help-for-help-internal):
* lisp/vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
(ediff-redraw-registry-buffer):
* lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
Doc fixes re "online" help.

Fixes: debbugs:17803
2014-06-28 19:33:50 -07:00
Glenn Morris
64de2916ca Update idlwave url
* doc/misc/idlwave.texi (Introduction): Comment out dead http screenshot links.

* lisp/progmodes/idlwave.el (idlwave): Update url-link for custom group.
(idlwave-mode): Doc URL update.
2014-06-28 19:17:17 -07:00
Andreas Schwab
b084415e27 Fixes: debbugs:17865
* coding.c (encode_coding_utf_8): Correctly count produced_chars
also in unibyte case.
2014-06-28 09:24:01 +02:00
Glenn Morris
90f33ead9b * calc-test.el: Set copyright to FSF; standardize permissions notice 2014-06-27 20:11:24 -07:00
Leo Liu
39ef0f7495 * test/automated/calc-tests.el: New file and add tests for math-bignum.
Fixes: debbugs:17556
2014-06-28 10:15:13 +08:00
Michael Albinus
453cac385f * automated/dbus-tests.el (dbus--test-register-service)
(dbus-test02-register-service-session): Replace `dbus-ping' calls
by `dbus-list-known-names'.

Fixes: debbugs:17858
2014-06-27 20:20:21 +02:00
Stephen Berman
b9d484082c * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
account for file-wide setting of todo-top-priorities-overrides.
Make code a bit cleaner.
2014-06-27 17:15:30 +02:00
Glenn Morris
2549d174e4 Regenerate ldefs-boot.el 2014-06-26 22:53:13 -07:00
Leo Liu
708dc66d7b Backport fix for http://debbugs.gnu.org/17556 from trunk
* lisp/calc/calc.el (math-bignum): Handle most-negative-fixnum.
2014-06-27 12:10:04 +08:00
Glenn Morris
340d54a195 * lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.
Fixes: debbugs:17860
2014-06-26 20:48:34 -04:00
Glenn Morris
b63a16ef8a ChangeLog fix (no need to merge to trunk)
Since the change was just quickly reverting a change that does not
have a ChangeLog entry of its own, it's confusing and unnecessary for
the reversion to have a ChangeLog entry.
2014-06-26 20:34:42 -04:00
Glenn Morris
50ccef4f27 * etc/publicsuffix.txt: Update from source.
* lisp/url/url-domsuf.el: Update example comments.
2014-06-26 20:33:00 -04:00
Stephen Berman
fe9f42eb6e * calendar/todo-mode.el (todo-prefix-overlays): If there is no
category-wide setting of todo-top-priorities-overrides, check for
a file-wide setting and fontify accordingly.
2014-06-26 21:22:08 +02:00
Glenn Morris
64c3533166 Warn about read-passwd in batch mode
* doc/lispref/minibuf.texi (Intro to Minibuffers): Batch mode is basic.
(Reading a Password): Mention batch mode. 

* lisp/subr.el (read-passwd): Warn about batch mode.

Fixes: debbugs:17839
2014-06-26 15:00:42 -04:00
Daiki Ueno
2493e35c36 * lisp/emacs-lisp/package.el (package--check-signature): (backport)
If package-check-signature is allow-unsigned, don't signal error when
we can't verify signature because of missing public key.

Fixes: debbugs:17625
2014-06-26 09:47:37 -04:00
Stefan Monnier
7d1fd42bd6 * lisp/progmodes/hideif.el: Undo last change which should only go to trunk
(do not merge).
2014-06-26 09:40:49 -04:00
Glenn Morris
436550da1b Regenerate etc/AUTHORS 2014-06-25 23:51:30 -07:00
Glenn Morris
f387f87052 Bump version to 24.3.92 2014-06-25 23:48:25 -07:00
Glenn Morris
9fc9c8c639 Remove some function declarations, no longer needed or correct
* lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage):
* lisp/gnus/mm-util.el (help-function-arglist):
Remove outdated declarations.
2014-06-25 23:43:39 -07:00
Luke Lee
c269730462 HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.

- Supporting argumented macro expansion.
- Stringification, tokenization and concatenation of strings and tokens.
- Add functions to find defines and parse argumented macros into a macro
  tree containing macro name, formal parameters and macro body.
- On macro evaluation, macros will be applied with actual parameters and
  then got expanded recursively.
- Merge main trunk changes

* lisp/progmodes/hideif.el (hif-string-to-number): Merge changes from
main trunk.
(hif-simple-token-only, hif-tokenize): Commentted in detail mainly for
performance enhancements.
(hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro
expansion.
(hif-factor, hif-string-concatenation, intern-safe): Support string
concatenation and argumented macro expansion.
(hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
(hif-expand-token-list, hif-get-argument-list, hif-define-macro)
(hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
(hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation)
(hif-parse-macro-arglist): Mostly new functions for supporting argumented
macro expansion.
(hif-string-concatenation, hif-stringify, hif-token-concat)
(hif-token-stringification, hif-token-concatenation): Stringify and
concatentation.
(hif-find-next-relevant): Fix comments
(hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
some cases involving #elif.
(hif-find-define, hif-add-new-defines): New functions for automatically
scanning of defined symbols.
(hide-ifdef-guts): Fix for auto defined symbol scanning.
(hide-ifdef-undef): Fix behavior to match CPP.
2014-06-26 13:47:33 +08:00
Leo Liu
cb6ce5eee8 Fix last change 2014-06-26 12:27:18 +08:00
Leo Liu
1d8bea6283 * lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.
(url-insert-file-contents): Condition on url-http-response-status
for the HTTP/S specific part. 

* lisp/url/url-http.el (url-http-end-of-headers): Remove duplicate defvar.

Fixes: debbugs:17549
2014-06-26 12:00:56 +08:00
Glenn Morris
d2301b5d80 authors.el: Add some renamed/moved files
* lisp/emacs-lisp/authors.el (authors-valid-file-names)
(authors-renamed-files-alist): Additions.
2014-06-25 20:36:58 -04:00
Glenn Morris
92f1664d5e ChangeLog fixes.
Not sure how M-x authors missed these so far...
2014-06-25 20:34:54 -04:00
Leo Liu
83d208a5dd Fix a few packages to work with nil tab-stop-list
* indent.el (indent-accumulate-tab-stops): New function.

* textmodes/picture.el (picture-set-tab-stops):
* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
(ruler-mode-ruler): Fix to work with nil tab-stop-list.

* progmodes/asm-mode.el (asm-calculate-indentation): Use
indent-next-tab-stop.
2014-06-26 07:53:37 +08:00
Stefan Monnier
30a42a5bed * test/automated/package-test.el (package-test-update-listing)
(package-test-update-archives, package-test-describe-package):
Adjust tests according to new package-list-unsigned.
2014-06-25 17:59:28 -04:00