Commit Graph

113546 Commits

Author SHA1 Message Date
Stefan Monnier
7e3561eec6 * lisp/emacs-lisp/package.el (package--download-one-archive)
(describe-package-1): Don't query the user about final newline.
2013-10-29 10:48:08 -04:00
Stefan Monnier
dee4ba5979 * src/eval.c (run_hook_with_args): Use FUNCTIONP.
* test/indent/css-mode.css (.x2): Test alignement inside braces.
* test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
2013-10-29 10:46:23 -04:00
Xue Fuqiao
e54711f396 * doc/lispref/display.texi (Abstract Display): Explain the meaning of Ewoc. 2013-10-29 22:36:01 +08:00
Xue Fuqiao
836b431328 Fix a typo. 2013-10-29 22:23:07 +08:00
Xue Fuqiao
3440d80e12 Use @code instead of @var for a normal variable.
* doc/lispref/display.texi (Button Buffer Commands): Use @code instead
  of @var for a normal variable.
2013-10-29 22:15:52 +08:00
Ted Zlatanov
0bdb7b45fc lisp/gnus/nnimap.el: Search the netrc entries for the logical server name, then the actual 2013-10-29 13:54:16 +00:00
Xue Fuqiao
142207c0e6 * doc/lispref/display.texi (Multi-Frame Images): Improve indexing. 2013-10-29 19:58:50 +08:00
Xue Fuqiao
027d950f5c Add an index for multi-frame images.
* doc/lispref/display.texi (Multi-Frame Images): Add an index for multi-frame images.
2013-10-29 19:20:24 +08:00
Xue Fuqiao
64ba53a23c Use @code instead of @var for a normal variable, since @var should
indicate metasyntactic variables.
2013-10-29 18:52:03 +08:00
Xue Fuqiao
81cf3b079a Add an index for image-size.
* doc/lispref/display.texi (Showing Images): Add an index for image-size.
2013-10-29 18:25:35 +08:00
Xue Fuqiao
bb667ec73c Fix typo in ido-use-virtual-buffers. 2013-10-29 15:37:40 +08:00
Dmitry Antipov
0085b9be22 * xterm.h (struct x_output): For 'black_relief' and 'white_relief'
fields, drop 'allocated_p' member and use -1 for uninitialized value.
* w32term.h (struct w32_output): Similarly but do not use -1 because...
* xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op
on MS-Windows anyway.
(free_face_colors): Define only if HAVE_X_WINDOWS and...
(free_realized_face): ...adjust user.
* xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and
white relief pixels to -1.
* xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users.
* w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise.
* dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.
2013-10-29 09:55:25 +04:00
Daniel Colascione
b9bef71fd3 Tweak Tramp method definition syntax to allow overriding check for localhost-only methods 2013-10-28 19:50:24 -07:00
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