1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
Commit graph

118428 commits

Author SHA1 Message Date
Glenn Morris
4bc1cdd563 ChangeLog fixes. 2014-12-01 13:35:16 -05:00
Glenn Morris
e5c0350828 * admin/update_autogen: Fix bogosity introduced in 2014-11-16 merge. 2014-12-01 13:29:03 -05:00
Stefan Monnier
b34578dd88 * lisp/vc: Fix use of find-conflicted-file in Git.
* lisp/vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
current "project" rather than just the current directory.
* lisp/vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
the file names make sense.
2014-12-01 13:16:54 -05:00
Stefan Monnier
8dac9c34d8 * lisp/vc/diff-mode.el (diff-kill-applied-hunks): New command.
* lisp/vc/smerge-mode.el (smerge-swap): New command.
2014-12-01 13:16:53 -05:00
Ulf Jasper
581914e45f newsticker: Prevent multiple "Could not download..." messages. Fixes bug#19166.
* lisp/net/newst-backend.el (newsticker--get-news-by-url-callback):
Pass correct status to `newsticker--sentinel-work'.
(newsticker--sentinel-work): Use "newsticker--download-error" as
guid in order to prevent multiple "Could not download..."
messages.  Fixes bug#19166.

* lisp/net/newst-treeview.el (newsticker--treeview-item-show): Check
window liveliness before measuring its width.
2014-12-01 19:14:54 +01:00
Ivan Shmakov
52fab40c16 Call `eww-after-render-hook' in the correct buffer
Fixes: debbugs:19225

* net/eww.el (eww-render): Call `eww-after-render-hook' in the
correct buffer.
2014-12-01 18:56:02 +01:00
Eric S. Raymond
40ce283460 Test checkin to attempt to tickle a bug reported on the dev list. 2014-12-01 12:06:19 -05:00
Lars Magne Ingebrigtsen
f8b82217c7 * net/nsm.el (network-security-level): Change the default to `medium'. 2014-12-01 17:47:05 +01:00
Eric S. Raymond
8bb7019c27 ChangeLog typo fix. 2014-12-01 11:44:34 -05:00
Eric S. Raymond
d17bae9039 Refactor VC merging to fix a layer violation.
* vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
'merge-branch'. Prompting for merge revisions is pushed down to the
back ends; this fixes a layering violation that caused bad behavior
with SVN.
2014-12-01 11:43:10 -05:00
Lars Magne Ingebrigtsen
dce46a7484 * .gitignore: Ignore loaddefs directly under lisp, and in sub-sub-directories 2014-12-01 17:11:50 +01:00
Lars Magne Ingebrigtsen
31410dcb09 Minor eww point placement fixup
* net/eww.el (eww): Leave point in a place that doesn't cause
scrolling when displaying "Loading...".
2014-12-01 17:09:01 +01:00
Eric S. Raymond
cb8ed25555 Small but crucial change for new VC registration API. 2014-12-01 10:59:05 -05:00
Eric S. Raymond
4893831f69 Update some documentation changes and todo items. 2014-12-01 10:57:09 -05:00
Eric S. Raymond
185320a5fe Finish vc-stay-local containment.
* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-stay-local-p and repository-hostname are no longer public
methods. Only the CVS and SVN backends used these, and the SVN
support was conditioned out because svn status -v is too slow.
The CVS back end retaiin this machibery and the vc-stay-local
configuration variable now only affects it.
2014-12-01 10:47:27 -05:00
Eric S. Raymond
2a81c5d94d Confine vc-stay-local to CVS, because it was unusable in SVN. 2014-12-01 10:11:42 -05:00
Eric S. Raymond
c108372525 Remove stay-local support in svn back end, because...
...status -v is so slow that it's unusable.
2014-12-01 10:04:10 -05:00
Stefan Monnier
f0e8c1eac2 New macro `define-inline'.
* lisp/emacs-lisp/inline.el: New file.
2014-12-01 09:45:15 -05:00
Eric S. Raymond
578d91ac50 Remove vc-state-heuristic from the set of public methods.
* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-state-heuristic is no longer a public method, having been removed
where it is redundant, unnecessary, or known buggy. This eliminated
all backends except CVS.  Eliminates bug#7850.
2014-12-01 09:41:54 -05:00
Eric S. Raymond
33b4235db6 The vc-mistrust-permissions configuration variable is gone.
* vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el: Eliminate
vc-mistrust-permissions.  It was only relevant to the RCS and SCCS
back ends and defaulted to t. Code now always mistrusts permissions -
by actual measurement the effect on performance is negligible. As a
side effect bug#11490 is now irrelevant.
2014-12-01 09:08:26 -05:00
Eric S. Raymond
f82f3f1f17 API simplification: remove vc-workfile-unchanged-p from pubic methods.
* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-workfile-unchanged-p is no longer a public method (but the RCS and
SCCS back ends retain it as a private method used in state
computation). This method was redundant with vc-state and usually
implemented as a trivial call to same. Fixes the failure mode
described in bug#694.
2014-12-01 08:24:27 -05:00
Eric S. Raymond
2532d74a5f Renove duplicate code. 2014-12-01 07:39:15 -05:00
Eric S. Raymond
9e9e3432fa Argument removal inadvertently omitted from my previous commit. 2014-12-01 07:08:40 -05:00
Eric S. Raymond
2f4f920079 VC API simplification: remove ability to set initial revision.
This hasn't made any sense since RCS, and was a dumb stunt then.

* vc/vc.el and all backends: API simplification; init-revision is
gone, and vc-registered functions no longer take an initial-revision
argument.
2014-12-01 06:23:10 -05:00
Glenn Morris
7536c8645e * lisp/gnus/gnus-cloud.el (gnus-cloud): Add :version tag. 2014-12-01 00:28:08 -08:00
Paul Eggert
3517da701e Port better to AddressSanitizer.
These changes suffice for temacs on x86-64 with GCC 4.9.2 and
-fsanitize=address.
* alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]:
Return -1 or 0, as the pipe trick doesn't work.
* alloc.c (relocatable_string_data_p, mark_object, sweep_symbols):
* data.c (Ffset):
* print.c (print_object):
When a pointer-check primitive returns -1, do not assume this
means the pointer is valid or that the underlying system has failed.
It could just be that addresses are being sanitized so Emacs can't
test for pointer validity.
* lisp.h (defined_GC_CHECK_STRING_BYTES): New constant.
(USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the
string validity checker doesn't work on stack-based strings.
2014-11-29 23:32:29 -08:00
Glenn Morris
70723e5107 ChangeLog fix. 2014-11-29 16:51:13 -08:00
Glenn Morris
6228c5d4d9 ChangeLog fix: standardize some bug refs. 2014-11-29 13:50:13 -08:00
Glenn Morris
9457d88b43 Add missing ChangeLog entry. 2014-11-29 13:44:31 -08:00
Glenn Morris
9402d80f25 * lisp/vc/vc-filewise.el: Comment fixes. 2014-11-29 13:38:29 -08:00
Glenn Morris
741f5e15dd * lisp/vc/vc-src.el: Fix copy-pasted :version tags. 2014-11-29 13:34:29 -08:00
Glenn Morris
1252594e56 ChangeLog fix 2014-11-29 13:31:57 -08:00
Glenn Morris
aa1459ae2a Fix up merged ChangeLog entries (dates, duplication, etc) 2014-11-29 13:25:50 -08:00
Paul Rankin
287740d6ed * outline.el (outline-move-subtree-down): Refactor and improve code. 2014-11-29 14:56:59 +01:00
Paul Eggert
dbff8fd118 Spelling fix. 2014-11-28 23:55:17 -08:00
Paul Eggert
366c1ceb03 Improve clarity of USE_LSB_TAG definition.
Problem reported by Lee Duhem.  Suggestion by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html
* lisp.h (USE_LSB_TAG): Define in terms of the (simpler)
VAL_MAX / 2 rather than in terms of the (more complicated)
EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match.
2014-11-28 23:39:06 -08:00
Paul Eggert
0cce3623b1 Merge branch 'emacs-24'. 2014-11-28 23:07:16 -08:00
Glenn Morris
9875d23d86 * configure.ac: Simplify gnutls tests.
Ref: http://debbugs.gnu.org/19168#21
2014-11-28 19:00:15 -08:00
Stefan Monnier
91191bd4b5 * .gitignore: Add entries for emacsvers files. 2014-11-28 18:18:57 -05:00
Stefan Monnier
ac4532a232 * lisp/simple.el (execute-extended-command--shorter): Fix the "M-p" case.
Fixes: debbugs:19152
2014-11-28 18:14:38 -05:00
Martin Rudalics
7b79b1abad Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
* help.el (help-window-old-frame): New variable.
(help-window-select): Default to nil (Bug#11039).  Rewrite
doc-string.
(help-window-setup): When the help window appears on another
frame and `help-window-select' is non-nil, give that frame input
focus too (Bug#19012).
(with-help-window): Store selected frame in
help-window-old-frame.
2014-11-28 18:12:32 +01:00
Ulf Jasper
d36439ca66 newsticker: Take care of nil value for `newsticker-groups-filename'.
* lisp/net/newst-treeview.el (newsticker--treeview-load): Take care of
nil value for `newsticker-groups-filename'.
2014-11-28 16:27:34 +01:00
Daiki Ueno
f33ec1f529 epg: Use epg-context-set-*-callback for extra treatment of args
* epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
(epa-sign-region, epa-encrypt-region): Use
`epg-context-set-{passphrase,progress}-callback', instead of
`setf'.  This partially reverts commit 9e48a95c (bug#19150).
Reported by José A. Romero L.
2014-11-28 15:59:23 +09:00
David Engster
692322388c admin: Add documentation for gitmerge.el
* gitmerge.el: New file.
* notes/git-workflow: Add documentation for using it.
2014-11-27 23:23:48 +01:00
Lars Magne Ingebrigtsen
d931478266 Fix typo in last checkin
* eww.el (eww-restore-history): Bind
`inhibit-modification-hooks' instead of `after-change-functions'.
2014-11-27 21:26:49 +01:00
Lars Magne Ingebrigtsen
a5fde629ff * net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'
instead of `after-change-functions'.
2014-11-27 20:28:34 +01:00
Lars Magne Ingebrigtsen
370258f761 (eww-process-text-input): Try to keep track of the size more reliably. 2014-11-27 20:26:31 +01:00
Ulf Jasper
cceb7a8921 newsticker: Handle embedded (x)html in atom feeds.
* lisp/net/newst-backend.el (newsticker--parse-atom-1.0): Handle
embedded (x)html in summary node.
2014-11-27 19:32:08 +01:00
Sam Steingold
07efa3f0ba Use `mouse-menu-bar-map' when no other menus are available.
* lisp/menu-bar.el (menu-bar-open): When everything else fails,
use (mouse-menu-bar-map).
2014-11-27 13:17:42 -05:00
Ulf Jasper
5749885098 newsticker: Change wording of confirmation prompt regarding obsolete variable `newsticker-groups-filename'.
Fixes: debbugs:19165

* lisp/net/newst-treeview.el (newsticker-groups-filename): Change
default value to nil.  Point out that variable is obsolete in doc
string.
(newsticker--treeview-load): Change wording of the questions the
user is asked when `newsticker-groups-filename' is found to be
used and we offer to read and remove the groups file.
2014-11-27 18:37:47 +01:00