1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

117890 Commits

Author SHA1 Message Date
Glenn Morris
de86a5c06d Update some version numbers for trunk version change 2014-10-29 22:39:21 -07:00
Glenn Morris
a060ebf087 * NEWS: Remove items backported to NEWS.24 2014-10-29 22:23:50 -07:00
Glenn Morris
52b410c60a Merge from emacs-24; up to 117634 2014-10-29 22:15:28 -07:00
Stefan Monnier
237bf45a48 * lisp/progmodes/cc-defs.el (c--macroexpand-all): New function.
(c-lang-defconst):
* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.

Fixes: debbugs:18845
2014-10-29 23:50:15 -04:00
Glenn Morris
6b3093be63 ChangeLog date fix 2014-10-29 20:33:08 -07:00
Glenn Morris
dc8a58558c NEWS fixes 2014-10-29 20:26:24 -07:00
Glenn Morris
e8ce54913c * doc/misc/efaq.texi (Gnus does not work with NNTP): Remove; ancient 2014-10-29 19:58:11 -07:00
Glenn Morris
cc99f920f5 * lisp/net/rcirc.el (rcirc-fill-column): Unbump :version.
A change in the possible :type with no change in the default does not
merit a :version bump.
Mark :risky.
2014-10-29 13:40:26 -04:00
Glenn Morris
fcc50328ee * version.el (emacs-bzr-version, emacs-bzr-get-version): Revert 2014-10-26
change.
2014-10-29 13:36:33 -04:00
Eli Zaretskii
091d3228b7 Fix bug #18874 with rgrep not obeying grep-scroll-output.
lisp/progmodes/compile.el (compilation-start): If
 compilation-scroll-output is non-nil, don't force window-start of
 the compilation buffer to be at beginning of buffer.
2014-10-29 17:17:18 +02:00
Paul Eggert
78d45b66d4 Port current-time change to XEmacs 21.4.
See the buildbot log at:
http://www.randomsample.de:4456/builders/xemacs21.4-linux/builds/1285
* lisp/erc/erc.el (erc-emacs-time-to-erc-time)
(erc-emacs-time-to-erc-time):
* lisp/gnus/gnus-util.el (gnus-float-time):
* lisp/org/org-compat.el (org-float-time):
Use 2-arg defalias, since XEmacs 21.4 doesn't support 3-arg.
2014-10-28 20:21:06 -07:00
Paul Eggert
123ddec7f8 Simplify use of current-time and friends.
* doc/misc/org.texi (Dynamic blocks):
* lisp/allout-widgets.el (allout-widgets-hook-error-handler):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
* lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
(timeclock-last-period, timeclock-day-base):
* lisp/eshell/em-ls.el (eshell-ls-file):
* lisp/eshell/esh-util.el (eshell-parse-ange-ls):
* lisp/generic-x.el (named-database-print-serial):
* lisp/net/newst-backend.el (newsticker--get-news-by-url-callback)
(newsticker-get-news, newsticker--sentinel-work)
(newsticker--image-get, newsticker--image-sentinel):
* lisp/net/tramp-sh.el (tramp-get-remote-touch):
* lisp/progmodes/opascal.el (opascal-debug-log):
* lisp/textmodes/remember.el (remember-mail-date)
(remember-store-in-files):
* lisp/vc/vc-annotate.el (vc-annotate-display-autoscale)
(vc-default-annotate-current-time):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot):
* lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time):
* lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time):
* lisp/url/url-util.el (url-get-normalized-date):
* lisp/erc/erc-backend.el (TOPIC):
* lisp/gnus/gnus-delay.el (gnus-delay-article):
* lisp/gnus/gnus-sum.el (gnus-summary-read-document):
* lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month):
* lisp/gnus/message.el (message-make-expires-date):
* lisp/org/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling):
* lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
(org-clock-special-range):
* lisp/org/org-timer.el (org-timer-seconds):
* lisp/org/org.el (org-read-date-analyze, org-get-cursor-date):
* lisp/org/ox-html.el (org-html-format-spec):
* lisp/org/ox-icalendar.el (org-icalendar--vtodo):
Omit unnecessary call to current-time.
* lisp/calendar/time-date.el (time-to-seconds) [!float-time]:
* lisp/calendar/timeclock.el (timeclock-time-to-date):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Use current time if arg is nil, to be compatible with float-time.
(time-date--day-in-year): New function, with most of the guts of
the old time-to-day-in-year.
(time-to-day-in-year): Use it.
(time-to-days): Use it, to avoid decoding the same time stamp twice.
* lisp/calendar/timeclock.el (timeclock-update-mode-line):
* lisp/cedet/srecode/args.el (srecode-semantic-handle-:time):
* lisp/gnus/gnus-util.el (gnus-seconds-year):
* lisp/org/org.el (org-get-cursor-date):
Don't call current-time twice to get the current time stamp,
as this can lead to inconsistent results.
* lisp/completion.el (cmpl-hours-since-origin):
* lisp/erc/erc.el (erc-emacs-time-to-erc-time):
* lisp/ido.el (ido-time-stamp):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Simplify by using float-time.
* lisp/completion.el (save-completions-to-file):
* lisp/url/url-cache.el (url-cache-prune-cache):
Rename local var to avoid confusion.
* lisp/gnus/gnus-util.el (gnus-float-time):
* lisp/net/rcirc.el (rcirc-float-time):
* lisp/org/org-compat.el (org-float-time):
Simplify to an alias because time-to-seconds now behaves like float-time
with respect to nil arg.
* lisp/subr.el (progress-reporter-do-update):
Don't call float-time unless needed.
* lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
* lisp/org/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
conversion from floating point to Emacs time and back.
(org-resolve-clocks): Prefer two-argument floor.
2014-10-28 18:42:51 -07:00
Leo Liu
14e5809d3c * net/rcirc.el (rcirc-fill-column): Use function.
(rcirc-markup-fill): Remove adjustment.
2014-10-29 09:37:16 +08:00
Christopher Schmidt
3f3b46d49b doc/misc/calc.texi (Quick Calculator): Mention prefix argument of
`quick-calc'. 

etc/NEWS: Mention prefix argument of `quick-calc'.

lisp/calc/calc.el (quick-calc):
lisp/calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
2014-10-28 19:37:37 -05:00
Sam Steingold
e4bf229c3c Allow any symbolic value for `rcirc-fill-column'.
* lisp/net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
the sake of `window-body-width' (in addition to `frame-width').
2014-10-28 17:55:28 -04:00
Ulf Jasper
45f0de5a71 xml.c:parse_region: Do not forget the first document child.
* src/xml.c (parse_region): Do not forget the first document child.

* test/automated/libxml-tests.el: New file.
2014-10-28 21:33:12 +01:00
Eli Zaretskii
205be0810a Fix bug #18873 with non-ASCII characters in user's HOME directory.
src/fileio.c (Fexpand_file_name): Use make_unibyte_string, not
 build_string, when importing a home directory.
2014-10-28 19:48:21 +02:00
Katsumi Yamaoka
7515423bc1 [Backport] gnus.el (gnus-mode-line-buffer-identification):
Don't add image data for a non-graphic display;
Don't shadow load-path, it blocks autoloading of find-image (bug#18813)
2014-10-27 22:51:18 +00:00
Katsumi Yamaoka
48ec745025 lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphic display (bug#18813) 2014-10-27 12:51:18 +09:00
enami tsugutomo
b13ccfca85 [Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open 2014-10-27 00:56:22 +00:00
Eric S. Raymond
ea1c65d4bb Guidance on commit-comment formats. 2014-10-26 20:50:32 -04:00
Eric S. Raymond
12983c7798 More preparation for git tramsition. Reorganize to sparate our dependencies. 2014-10-26 20:27:55 -04:00
Dani Moncayo
f399929938 * README.W32 (Preliminaries): Don't assume that this file is at
the top level.
(Setting up Emacs): Minor rewording to be more accurate.

Backported from trunk.
2014-10-26 19:37:16 +01:00
Eric S. Raymond
2beeb6e811 Fix some fallback values to conform to the actual release number. 2014-10-26 13:57:10 -04:00
Dani Moncayo
94004affda * README.W32 (Preliminaries): Don't assume that this file is at
the top level.
(Setting up Emacs): Minor rewording to be more accurate.
2014-10-26 18:47:32 +01:00
Eric S. Raymond
5a9bbd17c9 Neutralize language specific to a VCS type. 2014-10-26 11:54:03 -04:00
Eric S. Raymond
3c723fc779 Neutralize labguage specific to a VCS type. 2014-10-26 11:43:38 -04:00
Eli Zaretskii
475e766a94 Fix bug #18839 with incorrect image size returned by posn-at-point.
src/dispnew.c (buffer_posn_from_coords): Use
 WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to
 account for the header-line height.
2014-10-26 17:42:08 +02:00
Eric S. Raymond
6357aea699 Neutralized language specific to a repository type. 2014-10-26 11:38:44 -04:00
Eric S. Raymond
fb85c184db Merge BRANCH into repo, because it belongs with the developer advice. Also...
...this helps prepare for the repository move.
2014-10-26 07:15:06 -04:00
Eric S. Raymond
a4566cad72 Neutralize some language specific to a repository type. 2014-10-26 07:01:58 -04:00
Eric S. Raymond
5070ebb0c2 Rename the 'bzr' notes file to 'repo'. For two reasons:
1. A significant portion of the advice is independent of any 
specific version-control sytem.

2. Doing the rename now means it is easier to compose a multi-file 
patch that can be applied to fix the tree on the day of the git move.
2014-10-26 06:12:44 -04:00
Eric S. Raymond
8e297e0a84 Looking for .bzr as a check for top-level directory will soon be a bad idea.
Fortunately the other two checks should be quite sufficient.
2014-10-25 16:11:24 -04:00
Eric S. Raymond
fe133ac02f Neutralize some production names specific to a repository type. 2014-10-25 15:53:26 -04:00
Eric S. Raymond
08072a468b Preparing foe git transition. 2014-10-25 15:36:23 -04:00
Eric S. Raymond
ed81dc6d90 Next binary distribution will not contain .bzrignore files.
Removing this now to unclitter the grwp listings when I hunt for
obsolete references to bzr.
2014-10-25 15:24:12 -04:00
Eric S. Raymond
65e2cdadaf Neutralize language specific to a repository type. 2014-10-25 15:23:20 -04:00
Eric S. Raymond
5862e22c4a Anticipatory removal of some test data that will be obsolete shortly. 2014-10-25 15:21:11 -04:00
Eric S. Raymond
64d9c3f6c3 Neutralize language specific to a repository type. 2014-10-25 15:01:09 -04:00
Eric S. Raymond
88a297f3a2 Neutralize names specific to a repository type. 2014-10-25 14:55:59 -04:00
Eric S. Raymond
2a7753ce3e Neutralize language specific to a repository type. 2014-10-25 14:53:20 -04:00
Eric S. Raymond
c1609a8cce Preparing for git transition; replace bzr-specific language. 2014-10-25 14:48:49 -04:00
Jan Djärv
3abb316834 * nsselect.m: pasteboard_changecount is new.
(ns_store_pb_change_count, ns_get_pb_change_count)
(ns_get_our_change_count_for): New functions.
(ns_string_to_pasteboard_internal): Correct comment.
type => gtype in eassert, Call ns_store_pb_change_count.
(Fns_own_selection_internal): Remove data, use value.
(Fns_disown_selection_internal, Fns_selection_owner_p): Replace
Vselection_alist check, with change count check.
(Fns_get_selection): Initialize val to Qnil.  Only get local
selection if change counts match (Bug#18799).
(nxatoms_of_nsselect): Initialize pasteboard_changecount.
2014-10-25 15:56:22 +02:00
Michael Albinus
b5ea86d124 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
(tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
during initialization.

Fixes: debbugs:18774
2014-10-25 15:29:15 +02:00
Vincent Belaïche
c286a3e0af * ses.el (macroexp): add require for this package, so that
function `ses--cell' gets macroexp-quote --- this change was
supposed to be in my previous commit, but left out by mistake.
(ses--cell): Do not make formula a macroexp-quote of value when
value, not formula, is *skip*.
2014-10-25 12:40:14 +02:00
Noam Postavsky
a91ff4f4b1 Fix bug #18745 with invoking Windows batch files with embedded whitespace.
src/w32proc.c (create_child): If calling a quoted batch file,
 pass NULL for exe.

 nt/cmdproxy.c (batch_file_p): New function.
 (spawn): If calling a quoted batch file pass NULL for progname.

 test/automated/process-tests.el (process-test-quoted-batfile): New test.
2014-10-25 12:12:01 +03:00
Vincent Belaïche
b5dc75aed7 * ses.el (macroexp): add require for this package, so that function
`ses--cell gets macroexp-quote.
(ses--cell): makes formula a macroexp-quote of value when formula
is nil. The rationale of this changr is to allow in the future
shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
reference list REFLIST would be re-computed after load --- thus
trading off load time against file size.

* emacs-lisp/package.el (package--alist-to-plist-args): use
macroexp-quote instead of a lambda expression which has the same
content as macroexp-quote.
(macroexp): add require for this package, so that function
`package--alist-to-plist-args' gets macroexp-quote.

* emacs-lisp/macroexp.el (macroexp-quote): new defun.
2014-10-25 01:02:25 +02:00
Stefan Monnier
ac6839a839 * lisp/term/ns-win.el (ns-store-cut-buffer-internal)
(ns-copy-including-secondary): Use gui-set-selection.

Fixes: debbugs:18816
2014-10-24 18:23:43 -04:00
Eli Zaretskii
7026b4d8ee A possible fix for bug #18815 with assertion violations in bidi.c.
src/bidi.c (bidi_resolve_explicit, bidi_find_bracket_pairs)
 (bidi_resolve_brackets): Use end of string position rather than ZV
 when iterating over a string.
2014-10-24 16:19:21 +03:00
Martin Rudalics
3110159d1f Improve mouse dragging of frame edges.
* keyboard.c (make_lispy_position): Return coordinates also when
on scroll bars, fringes, margins or not in a window.
* xdisp.c (show_mouse_face): Don't change cursor face during
mouse tracking.
* mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
Calculate increment from last position instead of window edge.
Add right- and bottom-divider bindings to transient map.
2014-10-24 11:58:43 +02:00