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

118515 commits

Author SHA1 Message Date
Eric S. Raymond
7fb8fc35eb vc/vc-arch.el: Moved to obsolete directory...
...so a test framework won't trip over bit-rot in it.  There has been no
Arch snapshot for nine years.
2014-12-08 06:11:49 -05:00
Lars Magne Ingebrigtsen
eb5b08bef5 (eww-copy-page-url): Add doc string. 2014-12-07 22:18:09 +01:00
Lars Magne Ingebrigtsen
a3ca30c8b5 Revert prefix behavior in RET to previous behavior
* net/eww.el (eww-follow-link): Revert prefix behaviour to
previous behavior.
2014-12-07 21:44:19 +01:00
Ivan Shmakov
06b5cfe498 Make `G' in eww record history
Fixes: debbugs:19253

* net/eww.el (eww-browse-url): Use generate-new-buffer (was:
iterating over possible buffer names.)

* net/eww.el (eww): Moved history recording here...
(eww-browse-url): ... from here.
2014-12-07 21:14:07 +01:00
Lars Magne Ingebrigtsen
c08883ccb4 (eww-current-buffer): Compilation fix for bug#18550 patch. 2014-12-07 20:50:23 +01:00
Lars Magne Ingebrigtsen
007d4c29c2 Make a prefix to `eww-reload' work locally
Fixes: debbugs:19086

* net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2014-12-07 20:49:16 +01:00
Ivan Shmakov
b9ad615e65 eww history restoration fix
Fixes: debbugs:18550

* net/eww.el (eww-list-histories): Restore the history in the
correct buffer.
2014-12-07 20:38:38 +01:00
Lars Magne Ingebrigtsen
2c3d111392 eww bookmark display fixup
Fixes: debbugs:16398

* net/eww.el (eww-bookmark-prepare): Display URLs in first by
displaying shortened titles first.
2014-12-07 20:32:07 +01:00
Lars Magne Ingebrigtsen
17ee183646 (message-change-subject): Really check whether the subject changed 2014-12-07 18:58:28 +01:00
Tom Willemse
9dfa949c0d * lisp/progmodes/python.el: Recognize docstrings.
(python-docstring-at-p, python-font-lock-syntactic-face-function):
New functions.
(python-mode): Use them.
2014-12-07 11:24:35 -05:00
Jan D
f3a685812a Fixes: debbugs:19133
* nsimage.m (setPixmapData): Make bmRep local so class member is not
set.
2014-12-07 17:12:40 +01:00
Sam Steingold
2b53560c75 fix last patch 2014-12-06 18:53:39 -05:00
UJ
a1cf6ec16b newsticker: Context menu in treeview's tree.
* net/newst-treeview.el (newsticker--treeview-list-add-item)
(newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
(newsticker--treeview-create-groups-menu)
(newsticker--treeview-create-tree-menu): Removed.
(newsticker--treeview-tree-open-menu): New.
(newsticker-treeview-tree-click): Pass event to
`newsticker-treeview-tree-do-click'.
(newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2014-12-06 20:56:56 +01:00
Stephen Leake
952c6c8f00 * CONTRIBUTE: minor improvements
* ChangeLog: cleanup entries for my recent commits
2014-12-06 02:38:35 -06:00
Stephen Leake
06264b3d24 Improve CONTRIBUTE and related files.
* CONTRIBUTE: improve; add explicit web references, move some info from
  admin/notes/* here.

* INSTALL.REPO: You can't "just run make" after a clean checkout.

* admin/notes/commits: deleted; merged into ./CONTRIBUTE

* admin/notes/repo: move commit, branch info into ./CONTRIBUTE
2014-12-06 02:38:34 -06:00
Michael Albinus
7841e93482 * automated/vc-tests.el: New file. 2014-12-06 09:14:36 +01:00
Juri Linkov
f6c3965074 Better support for milti-line shell input.
* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-wrap): Use field-beginning instead of
comint-line-beginning-position.
(comint-send-input): Go to the end of the field instead of the end
of the line to accept whole multi-line input.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2014-12-06 01:55:20 +02:00
Juri Linkov
0ffa34951a Better check for displaying completions near the minibuffer.
* lisp/minibuffer.el (minibuffer-completion-help): Compare
selected-window with minibuffer-window to check whether
completions should be displayed near the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html

Fixes: debbugs:17809
2014-12-06 01:42:11 +02:00
Stephen Leake
7409a79b1b preparing for further changes/cleanup to developers/contributors docs
* etc/CONTRIBUTE: renamed to ./CONTRIBUTE,

(my first commit to emacs trunk ever :)
2014-12-05 14:43:47 -06:00
Michael Albinus
7d043d590d Fix minor bugs in vc.
* vc/vc-mtn.el (vc-mtn-root):
* vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2014-12-05 21:36:47 +01:00
Stefan Monnier
4fda400e58 Merge from emacs-24 2014-12-05 15:30:09 -05:00
Stefan Monnier
0d7b2c96d3 Merge from origin/emacs-24
The following commit was skipped:

f9f2509 Auto-commit of loaddefs files.
2014-12-05 15:22:15 -05:00
Stefan Monnier
fca389d1d3 Merge from emacs-24 2014-12-05 15:20:02 -05:00
Stefan Monnier
0c3f76c633 Merge from origin/emacs-24
The following commit was skipped:

babb0ca ChangeLog fix (do not merge to master)
2014-12-05 15:12:00 -05:00
Stefan Monnier
0bb24df135 Merge from origin/emacs-24
bb19b22 Python.el: Update commentary on RET-behavior
2014-12-05 15:12:00 -05:00
Stefan Monnier
be307485f7 * lisp: Prefer inlinable functions to macros.
* lisp/fringe.el (fringe-bitmap-p): Make it a plain function.

* lisp/tooltip.el (tooltip-region-active-p): Remove.

* lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
(shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.

* lisp/url/url-future.el (url-future-done-p, url-future-completed-p)
(url-future-errored-p, url-future-cancelled-p):
* lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline.

* lisp/vc/ediff-init.el (ediff-odd-p): Remove.
(ediff-background-face): Use cl-oddp instead.
(ediff-buffer-live-p): Make it a defsubst.
2014-12-05 12:49:53 -05:00
Stefan Monnier
887fa62285 * lisp/emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
(class-p, generic-p, eieio-object-p, class-abstract-p):
Make them defsubst, so as to avoid corner case problems where
the arg might be evaluated in the condition-case, or it can't be passed
to higher-order functions like `cl-some'.
2014-12-05 12:13:09 -05:00
Nicolas Richard
2a06fc15b2 (widget-choose) Let numeric keypad work
Fixes: debbugs:19268

* wid-edit.el (widget-choose): Let numeric keypad work
and remove old menu-related code.
2014-12-05 17:46:43 +01:00
Lars Magne Ingebrigtsen
3f199630bd * NEWS: Add some doc markers to the eww stuff. 2014-12-05 17:05:09 +01:00
Lars Magne Ingebrigtsen
9860da5137 * eww.texi (Basics): Document eww PDF viewing. 2014-12-05 17:01:24 +01:00
Lars Magne Ingebrigtsen
bee76e566c Make eww use mailcap when displaying PDF files
Fixes: debbugs:19270

* net/eww.el (eww-display-pdf): Let mailcap determine how to
display PDF files.
2014-12-05 16:51:59 +01:00
Lars Magne Ingebrigtsen
7747e23ecd Make it easier to use mailcap for viewing single files
* mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
PDFs.
(mailcap-view-mime): New function.
2014-12-05 16:51:59 +01:00
Sam Steingold
d2fab6bf58 fix last patch
* nextstep/Makefile.in (links): Use abs_top_builddir et al; link over DOC.
2014-12-05 10:31:25 -05:00
Sam Steingold
9c72233e63 fix a typo in doc string 2014-12-05 09:39:59 -05:00
Eli Zaretskii
933107f290 .gitignore: Ignore test/biditest.txt. 2014-12-05 13:19:14 +02:00
Eli Zaretskii
fcc4da3e52 Reduce memory footprint of struct bidi_it by a factor of 5.
src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero.
 (struct bidi_stack): Reduce size by using bit fields and by
 packing sos, override, and isolate_status into a single 8-bit
 byte called 'flags'.
 src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros.
 (bidi_push_embedding_level): Construct flags from individual
 bits.  Adapt to changes in prev_for_neutral and next_for_neutral
 members.
 (bidi_pop_embedding_level): Use ISOLATE_STATUS.  Extract 'sos'
 from flags.  Adapt to changes in prev_for_neutral,
 next_for_neutral, and last_strong members.
 (bidi_line_init): Initialize flags to zero.
 (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets)
 (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.
2014-12-05 12:17:15 +02:00
Juri Linkov
96e6fd3c15 Compare with the most recently used window by default.
* lisp/vc/compare-w.el (compare-windows-get-window-function):
New defcustom.
(compare-windows-get-recent-window)
(compare-windows-get-next-window): New functions.
(compare-windows, compare-windows-sync-default-function):
Use `compare-windows-get-window-function' instead of `next-window'.
(compare-windows): Add diff/match messages with region boundaries.
Fixes: debbugs:19170
2014-12-05 02:50:41 +02:00
Stefan Monnier
d08f4f8fc5 * lisp/subr.el (filter): Remove. Use cl-remove-if-not' or seq-filter'. 2014-12-04 15:57:23 -05:00
Stefan Monnier
6194477a62 * src/eval.c (backtrace_eval_unrewind): Rewind also the excursions.
(Fapply): Try and simplify the control flow.
2014-12-04 14:16:59 -05:00
Lee Duhem
c1c2cee7c5 * src/eval.c (Fsignal): Remove duplicate test.
(Fautoload_do_load): Fix up docstring.
2014-12-04 14:13:13 -05:00
Stefan Monnier
e3c24b171b * lisp/progmodes/sh-script.el: Fix indentation rule of "| while".
Fixes: debbugs:18031

* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
of the whole pipe when indenting an opening keyword after a |.
Generalize this treatment to opening keywords like "while".
2014-12-04 10:09:08 -05:00
Lars Magne Ingebrigtsen
64755ed3ad * net/shr.el (shr--extract-best-source): Ignore non-text children. 2014-12-04 14:42:57 +01:00
Eli Zaretskii
f1827846d7 Implement copying of a buffer portion while preserving visual order.
See http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02203.html
 and http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00063.html
 for the rationale.

 lisp/simple.el (bidi-directional-controls-chars)
 (bidi-directional-non-controls-chars): New variables.
 (squeeze-bidi-context-1, squeeze-bidi-context)
 (line-substring-with-bidi-context)
 (buffer-substring-with-bidi-context): New functions.

 doc/lispref/display.texi (Bidirectional Display): Document
 'buffer-substring-with-bidi-context'.
 doc/lispref/text.texi (Buffer Contents): Mention
 'buffer-substring-with-bidi-context' with a cross-reference.

 etc/NEWS: Mention 'buffer-substring-with-bidi-context'.
2014-12-04 11:31:33 +02:00
Eli Zaretskii
2bef807c32 lisp/files.el (file-tree-walk): Doc fix. 2014-12-04 09:58:19 +02:00
Rüdiger Sonderfeld
a0363ffa99 lisp/autoinsert.el: Change default of auto-insert-alist.
* lisp/autoinsert.el (auto-insert-alist): Update C/C++ header and
program support to match more extensions.  Replace non-alnum
characters when generating include guards (headers) and check for more
extensions when generating includes (programs)
(bug#19254).
2014-12-04 07:10:28 +01:00
Eric S. Raymond
de90917939 Fix punctuation glitches in file-tree-walk docstring.
* files.el (file-tree-walk): Fix docstring.
2014-12-03 18:26:34 -05:00
Sam Steingold
3f33f2210c enable in-place GUI
* nextstep/Makefile.in (links): New phony target to create a fake
installation pointing back to the source tree to run GUI Emacs
in-place (http://article.gmane.org/gmane.emacs.devel:178330).
2014-12-03 15:45:23 -05:00
Karl Fogel
b3298507f9 Fix bug whereby saving files hung in VC hook.
Saving a buffer visiting a file under SVN control would hang if the
remote repository were unreachable, because the VC hooks tried to run
"svn status -u" on the file, where the "-u" tells svn to get update
information from the remote repository.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html

* vc/vc-svn.el (vc-svn-state): Remove optional `localp' argument
  and always pass "-v" to "svn status", never "-u".
2014-12-03 14:23:26 -06:00
Stefan Monnier
c263a40a9a * lisp/emacs-lisp/inline.el: Cosmetic and minor fixes.
* lisp/emacs-lisp/inline.el: Fix up copyright header.
(inline-quote, inline-const-p, inline-const-val, inline-error):
Silence compiler warnings.
(inline-letevals): Fix edebug spec.
(inline--testconst-p): Consider lambda expressions as const-p.
(inline--getconst-val): Use inline--testconst-p.
2014-12-03 13:51:36 -05:00
Stefan Monnier
41bb375cc7 Fixes: debbugs:19250
* lisp/minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'

and change default to stay in the minibuffer when called from
the minibuffer.
(lazy-completion-table): Use this new argument to preserve the
old behavior.

* lisp/progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
incorrect lexical elements (bug#19250).
2014-12-03 13:42:20 -05:00