1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

113533 Commits

Author SHA1 Message Date
Paul Eggert
b7e0ef72d0 * dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
* xfaces.c (load_pixmap): Omit last two args, which are always NULL
in practice now.  All callers changed.
2013-10-28 14:19:38 -07:00
Michael Albinus
4efc33f01d * net/tramp-sh.el (tramp-sh-handle-copy-directory):
* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Handle COPY-CONTENTS.  (Bug#15737)
2013-10-28 20:30:40 +01:00
Dmitry Antipov
5d3311e5bb * dispextern.h (struct face): Use bitfields for 'underline_type'
and 'box' members.  Remove set-but-unused members 'pixmap_w' and
'pixmap_h'.  If not HAVE_WINDOW_SYSTEM, also remove dummy
'stipple' member.  Move 'lface' member up to help...
* xfaces.c (make_realized_face): ...this function to find and
clear just the members that need clearing.
(load_face_colors, realize_x_face):
* xdisp.c (extend_face_to_end_of_line): Adjust user.
2013-10-28 14:58:01 +04:00
Glenn Morris
6f81ab324c Auto-commit of generated files. 2013-10-28 06:17:40 -04:00
Daiki Ueno
ed42a87759 Document insecure elisp password caching is not usable with GnuPG 2.0. 2013-10-28 17:04:48 +09:00
Xue Fuqiao
7a4bc7be95 * lisp/image.el (image-load-path): Doc fix. 2013-10-28 07:04:16 +08:00
Xue Fuqiao
18c9f8a224 * lisp/image.el (defimage): Doc fix. 2013-10-28 06:53:48 +08:00
Alan Mackenzie
b1e8e01061 Indent statements in macros following "##" correctly.
* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify
the "#" arm of a cond form to handle "#" and "##" operators.
2013-10-27 21:24:17 +00:00
Glenn Morris
a94fc965f4 * configure.ac: It seems installing in non-ASCII is not, in fact, ok. 2013-10-27 11:57:20 -07:00
Glenn Morris
73d40d1e64 Mark tiny change from author without assignment 2013-10-27 11:46:47 -07:00
Xue Fuqiao
77197f90a0 Comment 2013-10-27 22:12:16 +08:00
Xue Fuqiao
44e0cfaf57 Add an index for image maps. 2013-10-27 21:07:24 +08:00
Glenn Morris
fb02976349 Auto-commit of loaddefs files. 2013-10-27 06:22:53 -04:00
Dmitry Antipov
0f771d26c8 * xftfont.c (struct xftfont_info): Remove set-but-unused
'screen' member.
(xftfont_open): Adjust user.
(xftfont_get_colors): Remove useless prototype.
2013-10-27 09:30:34 +04:00
Xue Fuqiao
3c640e29b8 Add an index for edge-detection algorithms.
* doc/lispref/display.texi (Image Descriptors): Add an index for edge-detection algorithms.
2013-10-27 12:40:16 +08:00
Nathan Trapuzzano
fdab3d0b44 * lisp/linum.el (linum-update-window): Fix boundary test.
Fixes: debbugs:13446
2013-10-27 00:18:28 -04:00
Dmitry Gutov
c8c605ac9c * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
after `=' is probably a new expression.
2013-10-27 07:25:03 +04:00
Rüdiger Sonderfeld
ca7e59d46c Add menu for M-x man
* lisp/man.el (man-imenu-title): New option.
(Man-mode-map): Add menu. 
(Man-mode): Add imenu to menu.

Fixes: debbugs:15722
2013-10-26 19:02:02 -07:00
Eli Zaretskii
c556b44bd5 Fix part of bug #15260 with from directory with a non-ASCII name.
src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
 before passing them to 'unexec'.
2013-10-26 16:43:58 +03:00
Xue Fuqiao
2a03e2bc6f Doc fix for set-fringe-bitmap-face.
* src/fringe.c (set_fringe_bitmap_face): Add usage note from lispref.
2013-10-26 11:13:18 +08:00
Xue Fuqiao
918a7ad426 Add an index for customizing fringe bitmaps. 2013-10-26 10:25:54 +08:00
Xue Fuqiao
7db9c31e3d * doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators. 2013-10-26 10:20:04 +08:00
Xue Fuqiao
68c9b8763c Comment 2013-10-26 10:02:51 +08:00
Dmitry Gutov
778859a88c * test/indent/ruby.rb: New failing example. 2013-10-26 05:22:50 +04:00
Dmitry Gutov
bae91342a4 * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
specific in what the first arg can be: a non-keyword word,
string/regexp/percent literal opener, opening paren, or unary
operator followed directly by word.

* test/automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix
the test, in respect to adding the space after the curly.
2013-10-26 05:16:37 +04:00
Stefan Monnier
eb89dc14d9 * lisp/progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
(prolog-align-comments-flag, prolog-indent-mline-comments-flag)
(prolog-object-end-to-0-flag, prolog-electric-newline-flag)
(prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
Remove vars, they do not apply any more.
(prolog-mode-abbrev-table): Remove redundant declaration.
(prolog-upper-case-string, prolog-lower-case-string): Remove.
(prolog-use-smie): Remove.
(prolog-smie-rules): Add indentation rule for the if-then-else layout
supported by prolog-electric-if-then-else-flag.
(prolog-mode-variables, prolog-menu): Use setq-local.
(prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
Remove binding to `Backspace' since this key doesn't exist anyway.
Remove bindings for electric self-inserting keys.
(prog-mode): Assume it's defined.
(prolog-post-self-insert): New function.
(prolog-mode): Use it.
(prolog-indent-line, prolog-indent-level)
(prolog-find-indent-of-matching-paren)
(prolog-indentation-level-of-line, prolog-goto-comment-column)
(prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
(prolog-goto-next-paren, prolog-in-string-or-comment)
(prolog-tokenize, prolog-inside-mline-comment)
(prolog-find-start-of-mline-comment): Remove functions.
(prolog-find-unmatched-paren, prolog-clause-end)
(prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
(prolog-electric--if-then-else): Rename from
prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
(prolog-tokenize-searchkey): Remove const.
(prolog-clause-info): Use forward-sexp.
(prolog-forward-list, prolog-backward-list, prolog-electric-delete)
(prolog-electric-if-then-else): Remove commands.
(prolog-electric--colon): Rename from prolog-electric-colon; adapt it
for use in post-self-insert-hook.
(prolog-electric--dash): Rename from prolog-electric-dash; adapt it
for use in post-self-insert-hook.
(prolog-electric--dot): Rename from prolog-electric-dot; adapt it
for use in post-self-insert-hook.
(prolog-electric--underscore): Rename from prolog-electric--underscore;
adapt it for use in post-self-insert-hook.
2013-10-25 11:23:45 -04:00
Xue Fuqiao
8b022e34fd Improve indexing. 2013-10-25 21:56:59 +08:00
Xue Fuqiao
651c39f8e8 Continuation of previous change. 2013-10-25 21:34:21 +08:00
Xue Fuqiao
3e1300f765 * doc/lispref/display.texi (Low-Level Font): Improve indexing. 2013-10-25 21:12:58 +08:00
Xue Fuqiao
2194b2a4b0 * doc/lispref/nonascii.texi (Character Properties): Add an index for
script symbols.
2013-10-25 20:23:07 +08:00
Michael Albinus
3dab0a832c * emacs-lisp/ert.el (ert-run-tests-interactively):
Use `completing-read'.  (Bug#9756)
2013-10-25 14:07:34 +02:00
Xue Fuqiao
619a46f8d2 * doc/lispref/display.texi (Fontsets): Minor wording fix. 2013-10-25 19:44:35 +08:00
Glenn Morris
a1f7782f07 Auto-commit of generated files. 2013-10-25 06:17:37 -04:00
Eli Zaretskii
f67599d554 Another fix for the MS-Windows build broken 4 revisions ago.
src/w32uniscribe.c (uniscribe_close): Adjust the argument list to
 the changed signature of the font driver's 'close' method.
2013-10-25 12:52:37 +03:00
Eli Zaretskii
fbfd0e1d75 Fix bug #15712 with vertical motion when the goal column needs to hscroll.
lisp/simple.el (line-move): Call line-move-1 instead of
 line-move-visual when the current window hscroll is zero, but
 temporary-goal-column indicates we will need to hscroll as result
 of the movement.
2013-10-25 12:45:51 +03:00
Eli Zaretskii
6702c559da Fix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.
src/w32font.h (w32font_close): Adjust the prototype to the change in
 function definition.
 src/w32font.c (w32font_close): Reintroduce deleted declaration of i.
 src/w32uniscribe.c (uniscribe_close): Adapt the call to
 w32font_close to its new prototype.
2013-10-25 12:42:41 +03:00
Dmitry Antipov
86bd985ec0 Perform font-specific cleanup when font object is swept by GC. See
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html.
* alloc.c (cleanup_vector): New function.
(sweep_vector): Call it for each reclaimed vector object.
* font.h (struct font): Adjust comment.
2013-10-25 11:28:16 +04:00
Dmitry Antipov
78e0b35c45 Omit unused frame argument of font API's close function.
* font.h (struct font): Drop frame argument.  Adjust comment.
* font.c (font_clear_cache, font_close_object): Adjust users.
* ftfont.c (ftfont_close):
* ftxfont.c (ftxfont_close):
* macfont.m (macfont_close):
* nsfont.m (nsfont_close):
* w32font.c (w32font_close):
* xfont.c (xfont_close):
* xftfont.c (xftfont_close): Adjust driver-specific close
functions, tweak comments and make functions safe if called
more than once for the same font object.
2013-10-25 10:55:36 +04:00
Dmitry Gutov
963ce6361a * lisp/progmodes/ruby-mode.el (ruby-mode-menu): Use proper
capitalization.  Use :visible instead of :active.  Fix
`ruby-indent-exp' reference.  Add menu items for the generic
commands that are used with SMIE.
(ruby-do-end-to-brace): Insert space after `{'.
2013-10-25 08:35:56 +04:00
John Anthony
f73754c923 * lisp/progmodes/ruby-mode.el (ruby-mode-menu): Add a menu
Fixes: debbugs:15600
2013-10-24 19:38:39 -07:00
John Anthony
a0be396a4a * lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.
Fixes: debbugs:15599
2013-10-24 19:35:55 -07:00
Glenn Morris
f5bf77dfae * lisp/vc/vc.el (vc-print-log): Don't use a working revision unless
one was explicitly specified.

Fixes: debbugs:15322
2013-10-24 19:33:42 -07:00
Glenn Morris
da504eec70 * configure.ac: It seems _installing_ in non-ASCII is ok, not building. 2013-10-24 19:22:13 -07:00
Stefan Monnier
37241f6206 * lisp/subr.el (add-to-list): Preserve return value in compiler-macro.
Fixes: debbugs:15692
2013-10-24 21:10:27 -04:00
Leo Liu
3eb91f7bf7 Small fix to last change 2013-10-25 08:52:26 +08:00
Rüdiger Sonderfeld
6408a65db5 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
result.  Ask user to retry using '-all' flag.

Fixes: debbugs:15701
2013-10-25 08:49:33 +08:00
Glenn Morris
357a508109 Avoid non-portable " ... \"...\" ... " nesting
* configure.ac:
* Makefile.in (install-arch-indep, install-etcdoc, install-info):
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
* nt/Makefile.in ($(DESTDIR)${archlibdir}):
Avoid non-portable "`\" nesting.
2013-10-24 19:04:33 -04:00
Stefan Monnier
71e3276bc5 * lisp/emacs-lisp/smie.el: New smie-config system.
(smie-config): New defcustom.
(smie-edebug, smie-config-show-indent, smie-config-set-indent)
(smie-config-guess, smie-config-save): New commands.
(smie-config--mode-local, smie-config--buffer-local)
(smie-config--trace, smie-config--modefuns): New vars.
(smie-config--advice, smie-config--mode-hook)
(smie-config--setter, smie-config-local, smie-config--get-trace)
(smie-config--guess-value, smie-config--guess): New functions.
(smie-indent-forward-token, smie-indent-backward-token): Don't copy
text properties.  Treat "string fence" syntax like string syntax.

* lisp/progmodes/sh-script.el (sh-use-smie): Change default.
(sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
(sh-var-value): Simplify by CSE.
(sh-show-indent, sh-set-indent, sh-learn-line-indent)
(sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
is used.
(sh-guess-basic-offset): Use cl-incf.
(sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2013-10-24 17:16:20 -04:00
Helmut Eller
60db713e4d * lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste.
Fixes: debbugs:15699
2013-10-24 13:49:12 -04:00
Glenn Morris
8b251df61e * lisp/Makefile.in (abs_top_srcdir): Remove.
(update-subdirs): Use relative path to update-subdirs.
2013-10-24 13:18:46 -04:00