aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2011-08-15 12:19:54 -0700
committerPaul Eggert2011-08-15 12:19:54 -0700
commitb24809631adbdbc48a0d140b54ff98689fc6c8d8 (patch)
treed3f77d37003d2d11b9ccc63325d506c652cfb125 /lisp
parentc881564470ef15bf3f1908c1ee9eb4c3e92953fd (diff)
parent3ebec5517ea32d0c9d1954f0ea806b4fb256f12e (diff)
downloademacs-b24809631adbdbc48a0d140b54ff98689fc6c8d8.tar.gz
emacs-b24809631adbdbc48a0d140b54ff98689fc6c8d8.zip
Merge from trunk.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/ibuffer.el6
-rw-r--r--lisp/minibuffer.el20
-rw-r--r--lisp/org/ChangeLog75
4 files changed, 49 insertions, 57 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9459a4cfdd..7116a152605 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4 and "a2b" to "ab" for `prefix'.
5
12011-08-14 Chong Yidong <cyd@stupidchicken.com> 62011-08-14 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting 8 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 5fda52f3d12..725192399ff 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2648,7 +2648,7 @@ will be inserted before the group at point."
2648;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group 2648;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group
2649;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group 2649;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group
2650;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode 2650;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode
2651;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "001cd83e8e1ff27c9a61097c840a984d") 2651;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "617b36fc8479547d679cf0103f82e3ff")
2652;;; Generated autoloads from ibuf-ext.el 2652;;; Generated autoloads from ibuf-ext.el
2653 2653
2654(autoload 'ibuffer-auto-mode "ibuf-ext" "\ 2654(autoload 'ibuffer-auto-mode "ibuf-ext" "\
@@ -2778,8 +2778,10 @@ The value from `ibuffer-saved-filter-groups' is used.
2778 2778
2779(autoload 'ibuffer-filter-disable "ibuf-ext" "\ 2779(autoload 'ibuffer-filter-disable "ibuf-ext" "\
2780Disable all filters currently in effect in this buffer. 2780Disable all filters currently in effect in this buffer.
2781With optional arg DELETE-FILTER-GROUPS non-nil, delete all filter
2782group definitions by setting `ibuffer-filter-groups' to nil.
2781 2783
2782\(fn)" t nil) 2784\(fn &optional DELETE-FILTER-GROUPS)" t nil)
2783 2785
2784(autoload 'ibuffer-pop-filter "ibuf-ext" "\ 2786(autoload 'ibuffer-pop-filter "ibuf-ext" "\
2785Remove the top filter in this buffer. 2787Remove the top filter in this buffer.
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 0a2774de572..313298de97e 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -2299,7 +2299,7 @@ the commands start with a \"-\" or a SPC."
2299(defun completion-pcm--string->pattern (string &optional point) 2299(defun completion-pcm--string->pattern (string &optional point)
2300 "Split STRING into a pattern. 2300 "Split STRING into a pattern.
2301A pattern is a list where each element is either a string 2301A pattern is a list where each element is either a string
2302or a symbol chosen among `any', `star', `point', `prefix'." 2302or a symbol, see `completion-pcm--merge-completions'."
2303 (if (and point (< point (length string))) 2303 (if (and point (< point (length string)))
2304 (let ((prefix (substring string 0 point)) 2304 (let ((prefix (substring string 0 point))
2305 (suffix (substring string point))) 2305 (suffix (substring string point)))
@@ -2515,7 +2515,19 @@ filter out additional entries (because TABLE migth not obey PRED)."
2515 (mapcar 'completion--sreverse strs)))) 2515 (mapcar 'completion--sreverse strs))))
2516 2516
2517(defun completion-pcm--merge-completions (strs pattern) 2517(defun completion-pcm--merge-completions (strs pattern)
2518 "Extract the commonality in STRS, with the help of PATTERN." 2518 "Extract the commonality in STRS, with the help of PATTERN.
2519PATTERN can contain strings and symbols chosen among `star', `any', `point',
2520and `prefix'. They all match anything (aka \".*\") but are merged differently:
2521`any' only grows from the left (when matching \"a1b\" and \"a2b\" it gets
2522 completed to just \"a\").
2523`prefix' only grows from the right (when matching \"a1b\" and \"a2b\" it gets
2524 completed to just \"b\").
2525`star' grows from both ends and is reified into a \"*\" (when matching \"a1b\"
2526 and \"a2b\" it gets completed to \"a*b\").
2527`point' is like `star' except that it gets reified as the position of point
2528 instead of being reified as a \"*\" character.
2529The underlying idea is that we should return a string which still matches
2530the same set of elements."
2519 ;; When completing while ignoring case, we want to try and avoid 2531 ;; When completing while ignoring case, we want to try and avoid
2520 ;; completing "fo" to "foO" when completing against "FOO" (bug#4219). 2532 ;; completing "fo" to "foO" when completing against "FOO" (bug#4219).
2521 ;; So we try and make sure that the string we return is all made up 2533 ;; So we try and make sure that the string we return is all made up
@@ -2568,7 +2580,9 @@ filter out additional entries (because TABLE migth not obey PRED)."
2568 (let* ((prefix (try-completion fixed comps)) 2580 (let* ((prefix (try-completion fixed comps))
2569 (unique (or (and (eq prefix t) (setq prefix fixed)) 2581 (unique (or (and (eq prefix t) (setq prefix fixed))
2570 (eq t (try-completion prefix comps))))) 2582 (eq t (try-completion prefix comps)))))
2571 (unless (equal prefix "") (push prefix res)) 2583 (unless (or (eq elem 'prefix)
2584 (equal prefix ""))
2585 (push prefix res))
2572 ;; If there's only one completion, `elem' is not useful 2586 ;; If there's only one completion, `elem' is not useful
2573 ;; any more: it can only match the empty string. 2587 ;; any more: it can only match the empty string.
2574 ;; FIXME: in some cases, it may be necessary to turn an 2588 ;; FIXME: in some cases, it may be necessary to turn an
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 43e4ad30e06..814e5511d95 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -599,18 +599,11 @@
599 (org-footnote-next-reference-or-definition): check more strictly 599 (org-footnote-next-reference-or-definition): check more strictly
600 footnote definitions. 600 footnote definitions.
601 601
6022011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> 6022011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
603 603
604 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by 604 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
605 language modes. 605 language modes.
606 606
6072011-07-28 Suvayu Ali <fatkasuvayu+linux@gmail.com>
608
609 * Mention use of keywords like multicolumn and float
610
611 * Remove previous mention of hack with placement option as per
612 comments on the mailing list. The hack is better suited for Worg.
613
6142011-07-28 Eric Schulte <schulte.eric@gmail.com> 6072011-07-28 Eric Schulte <schulte.eric@gmail.com>
615 608
616 * ob-python.el (org-babel-python-evaluate-session): Inhibit return 609 * ob-python.el (org-babel-python-evaluate-session): Inhibit return
@@ -905,7 +898,7 @@
905 898
9062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 8992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
907 900
908 * org-exp (org-export-preprocess-string): normalize footnotes 901 * org-exp.el (org-export-preprocess-string): normalize footnotes
909 before marking lists ending. 902 before marking lists ending.
910 903
911 * org-latex.el (org-export-latex-preprocess): work with labels as 904 * org-latex.el (org-export-latex-preprocess): work with labels as
@@ -1052,7 +1045,7 @@
1052 1045
10532011-07-28 Achim Gratz <stromeko@nexgo.de> 10462011-07-28 Achim Gratz <stromeko@nexgo.de>
1054 1047
1055 * org.el (defcustom org-log-into-drawer): correct typo 1048 * org.el (defcustom org-log-into-drawer): correct typo.
1056 1049
1057 * org-clock.el (org-clock-into-drawer): New function to change the 1050 * org-clock.el (org-clock-into-drawer): New function to change the
1058 location of clock events based on properties CLOCK_INTO_DRAWER or, 1051 location of clock events based on properties CLOCK_INTO_DRAWER or,
@@ -1598,7 +1591,7 @@
1598 * ob-lisp.el (org-babel-execute:lisp): No real functional change, 1591 * ob-lisp.el (org-babel-execute:lisp): No real functional change,
1599 just aesthetic. 1592 just aesthetic.
1600 1593
16012011-07-28 Sébastien Delafond <sdelafond@gmail.com> 15942011-07-28 Sébastien Delafond <sdelafond@gmail.com> (tiny change)
1602 1595
1603 * org.el (org-mode-flyspell-verify): This is useful when using 1596 * org.el (org-mode-flyspell-verify): This is useful when using
1604 flyspell with a non-English dictionary, or if some of your 1597 flyspell with a non-English dictionary, or if some of your
@@ -1841,7 +1834,7 @@
1841 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory 1834 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
1842 newline inside of the code block body. 1835 newline inside of the code block body.
1843 1836
18442011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> 18372011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
1845 1838
1846 * ob.el: Avoid spurious matches to literal. 1839 * ob.el: Avoid spurious matches to literal.
1847 1840
@@ -1908,7 +1901,7 @@
1908 * org.el (org-special-properties): Add CLOCKSUM to the special 1901 * org.el (org-special-properties): Add CLOCKSUM to the special
1909 properties. 1902 properties.
1910 1903
19112011-07-28 Robert P. Goldman <rpgoldman@real-time.com> 19042011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
1912 1905
1913 * ob-exp.el (org-babel-exp-in-export-file): Bind 1906 * ob-exp.el (org-babel-exp-in-export-file): Bind
1914 `org-link-search-inhibit-query' to t to inhibit prompts. 1907 `org-link-search-inhibit-query' to t to inhibit prompts.
@@ -1936,12 +1929,12 @@
1936 * org-exp.el (org-export-add-options-to-plist): Fix the option 1929 * org-exp.el (org-export-add-options-to-plist): Fix the option
1937 parser 1930 parser
1938 1931
19392011-07-28 Robert P. Goldman <rpgoldman@real-time.com> 19322011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
1940 1933
1941 * org-latex.el (org-export-latex-preprocess): Replace index 1934 * org-latex.el (org-export-latex-preprocess): Replace index
1942 entries. 1935 entries.
1943 1936
19442011-07-28 Robert P. Goldman <rpgoldman@real-time.com> 19372011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
1945 1938
1946 * org.el (org-structure-template-alist): Add an easy template for 1939 * org.el (org-structure-template-alist): Add an easy template for
1947 index (i), and move include file to I from i. 1940 index (i), and move include file to I from i.
@@ -2277,18 +2270,14 @@
2277 2270
2278 * org.el (org-property-values): Enhance docstring. 2271 * org.el (org-property-values): Enhance docstring.
2279 2272
22802011-07-28 Ethan Ligon <ligon@are.berkeley.edu> 22732011-07-28 Ethan Ligon <ligon@are.berkeley.edu> (tiny change)
2281 2274
2282 * Illustration of bug in html export - This has a space after the 2275 * lisp/org-html.el (org-html-export-list-line): Fix regexp for
2283 colons :: so will work in latex and html - This doesn't have a 2276 detecting description lists to allow "::" marker to be last
2284 space after the colons ::so is an invalid description item 2277 visible element at end of line.
2285 according to the org manual. Won't work in html or docbook. Will 2278 * lisp/org-docbook.el (org-docbook-export-list-line): Fix regexp
2286 nevertheless work in latex, provided /first/ description item is 2279 for detecting description lists to allow "::" marker to be last
2287 valid. - Has a terminating space :: - So it works in both html 2280 visible element at end of line.
2288 and latex export! - Even though it's difficult to distinguish
2289 from the next example. - Lacks a terminating space :: - At
2290 present, *doesn't* work in html or docbook export, does in latex.
2291 This is the case that the following patch fixes.
2292 2281
22932011-07-28 Julien Danjou <julien@danjou.info> 22822011-07-28 Julien Danjou <julien@danjou.info>
2294 2283
@@ -2346,7 +2335,7 @@
2346 * org-latex.el (org-export-latex-convert-table.el-table): Fix 2335 * org-latex.el (org-export-latex-convert-table.el-table): Fix
2347 format-string for insertion of captions. 2336 format-string for insertion of captions.
2348 2337
23492011-07-28 Nick Dokos <nicholas.dokos@hp.com> 23382011-07-28 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2350 2339
2351 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Fix 2340 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Fix
2352 regexp. 2341 regexp.
@@ -2899,7 +2888,7 @@
2899 * org-html.el (org-export-as-html): Bugfix: don't insert closing 2888 * org-html.el (org-export-as-html): Bugfix: don't insert closing
2900 HTML tags when exporting body only. 2889 HTML tags when exporting body only.
2901 2890
29022011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> 28912011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> (tiny change)
2903 2892
2904 * org.el (org-back-over-empty-lines): Bugfix. Honor 2893 * org.el (org-back-over-empty-lines): Bugfix. Honor
2905 `org-blank-before-new-entry' correctly in various contexts. 2894 `org-blank-before-new-entry' correctly in various contexts.
@@ -3359,7 +3348,7 @@
3359 3348
33602011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33492011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3361 3350
3362 * org-list (org-cycle-item-indentation): do not break an 3351 * org-list.el (org-cycle-item-indentation): do not break an
3363 indentation cycle because visibility cycling is requested. This 3352 indentation cycle because visibility cycling is requested. This
3364 happens when an item becomes a parent, due to indentation change. 3353 happens when an item becomes a parent, due to indentation change.
3365 Not considered empty anymore, the function cannot change its 3354 Not considered empty anymore, the function cannot change its
@@ -4157,12 +4146,6 @@
4157 * ob.el (org-babel-insert-result): Don't choke if indent is not a 4146 * ob.el (org-babel-insert-result): Don't choke if indent is not a
4158 number. 4147 number.
4159 4148
41602011-07-28 Bastien Guerry <bzg@gnu.org>
4161
4162 * 2011
4163 ** 2011-02 monthname
4164 *** 2011-02-13 dayname
4165
41662011-07-28 Christian Moe <mail@christianmoe.com> (tiny change) 41492011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
4167 4150
4168 * org-bbdb.el (org-bbdb-export): When a link description has been 4151 * org-bbdb.el (org-bbdb-export): When a link description has been
@@ -4455,10 +4438,10 @@
4455 * org-latex.el (org-export-latex-emph-format): Don't use 4438 * org-latex.el (org-export-latex-emph-format): Don't use
4456 `org-export-latex-use-verb'. Remove this variable. 4439 `org-export-latex-use-verb'. Remove this variable.
4457 4440
44582011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> 44412011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
4459 4442
4460 * org-html.el (org-html-handle-time-stamps): fix bug when exporing 4443 * org-html.el (org-html-handle-time-stamps): fix bug when
4461 inactive timestamps. 4444 exporting inactive timestamps.
4462 4445
44632011-07-28 Bastien Guerry <bzg@gnu.org> 44462011-07-28 Bastien Guerry <bzg@gnu.org>
4464 4447
@@ -4503,18 +4486,6 @@
4503 (org-export-latex-emph-format): distinguish between =...= and 4486 (org-export-latex-emph-format): distinguish between =...= and
4504 ~...~ emphasis. 4487 ~...~ emphasis.
4505 4488
45062011-07-28 David Maus <dmaus@ictsoc.de>
4507
4508 * test-org-html.el (test-org-html/export-link-alist): New
4509 variable. Abstract link export test definition.
4510 (test-org-html/export-link-factory): New function. Create tests for
4511 link export.
4512
45132011-07-28 David Maus <dmaus@ictsoc.de>
4514
4515 * org-test.el (org-test-strip-text-props): New function. Strip
4516 text properties.
4517
45182011-07-28 Julien Danjou <julien@danjou.info> 44892011-07-28 Julien Danjou <julien@danjou.info>
4519 4490
4520 * org.el (org-link-expand-abbrev): Allow any type of character in 4491 * org.el (org-link-expand-abbrev): Allow any type of character in
@@ -4624,7 +4595,7 @@
4624 (org-store-link): 4595 (org-store-link):
4625 (org-mark-subtree): Use `org-with-limited-levels'. 4596 (org-mark-subtree): Use `org-with-limited-levels'.
4626 4597
46272011-07-28 Jan Seeger <jan.seeger@thenybble.de> 45982011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
4628 4599
4629 * org-publish.el (org-publish-get-base-files): Add sitemap file. 4600 * org-publish.el (org-publish-get-base-files): Add sitemap file.
4630 4601
@@ -7357,7 +7328,7 @@
7357 (org-export-latex-keywords-maybe): 7328 (org-export-latex-keywords-maybe):
7358 Use `org-export-latex-tag-markup'. 7329 Use `org-export-latex-tag-markup'.
7359 7330
73602010-11-11 Rémi Vanicat <vanicat@debian.org> 73312010-11-11 Rémi Vanicat <vanicat@debian.org> (tiny change)
7361 7332
7362 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option. 7333 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
7363 (org-ical-ts-to-string): Use UTC time when requested. 7334 (org-ical-ts-to-string): Use UTC time when requested.