Mercurial > emacs
view test/ChangeLog @ 111851:dd83cbcddf69
Adjust parameter names and doc strings to resolve confusion over
whether "bookmark" meant a bookmark name or a bookmark record.
Along the way, shorten one function's name for similar reasons.
(Issue #7548)
* lisp/bookmark.el
(bookmark-name-from-record):
New name for `bookmark-name-from-full-record'. All callers changed.
(bookmark-get-bookmark, bookmark-get-bookmark-record,
bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
bookmark-get-annotation, bookmark-set-annotation,
bookmark-get-filename, bookmark-set-filename,
bookmark-get-position, bookmark-set-position,
bookmark-get-front-context-string, bookmark-set-front-context-string,
bookmark-get-rear-context-string, bookmark-set-rear-context-string,
bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
Rename `bookmark' parameter to `bookmark-name-or-record', to
clearly show its role, and shorten or adjust doc strings accordingly.
(bookmark-set-name):
Same, and pass the parameter directly to `bookmark-get-bookmark'
instead of redundantly doing the callee's work.
(bookmark-default-annotation-text, bookmark-send-edited-annotation,
bookmark-relocate, bookmark-insert-location, bookmark-insert,
bookmark-delete):
Rename `bookmark' parameter to `bookmark-name', and in some cases
shorten doc string accordingly.
(bookmark-rename):
Change `old' and `new' parameters to `old-name'
and `new-name', and adjust an internal variable to avoid confusion.
(bookmark-jump, bookmark-jump-noselect):
Clarify `bookmark' parameter in doc string.
author | Karl Fogel <kfogel@red-bean.com> |
---|---|
date | Wed, 08 Dec 2010 03:09:27 -0500 |
parents | d9d916379aff |
children | c5917804ecad |
line wrap: on
line source
2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca> * indent/modula2.mod: New file. 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca> * indent/octave.m: Add a test to ensure indentation is local. 2010-10-23 Glenn Morris <rgm@gnu.org> * comint-testsuite.el (comint-testsuite--test-comint-password-prompt-regexp): Add "Please enter the password". (Bug#7224) 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca> * indent/prolog.prolog: Use normal spacing around !. 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca> * indent/octave.m: Remove one more `fixindent'. Use `end'. 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca> * indent/octave.m: Remove some `fixindent' not needed any more. 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca> * indent/octave.m: New file. 2010-08-08 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite-run): Add internal tests. (icalendar-testsuite--trim, icalendar-testsuite--compare-strings) (icalendar-testsuite--run-internal-tests): New. (icalendar-testsuite--test-convert-ordinary-to-ical) (icalendar-testsuite--test-convert-block-to-ical) (icalendar-testsuite--test-convert-anniversary-to-ical) (icalendar-testsuite--test-parse-vtimezone) (icalendar-testsuite--do-test-export): Code formatting. (icalendar-testsuite--test-parse-vtimezone): Doc fix. (icalendar-testsuite--do-test-import) (icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings (icalendar-testsuite--run-import-tests): Comment added. (icalendar-testsuite--run-import-tests) (icalendar-testsuite--run-real-world-tests): Fix expected results. 2010-06-25 Chong Yidong <cyd@stupidchicken.com> * redisplay-testsuite.el (test-redisplay-3): New test. 2010-06-11 Chong Yidong <cyd@stupidchicken.com> * comint-testsuite.el: New file. 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca> * indent: New dir. 2010-05-07 Chong Yidong <cyd@stupidchicken.com> * Version 23.2 released. 2010-03-29 Chong Yidong <cyd@stupidchicken.com> * cedet/semantic-ia-utest.el (semantic-symref-test-count-hits-in-tag): Add function, from semantic-test.el. * cedet/tests/test.cpp: * cedet/tests/test.py: * cedet/tests/teststruct.cpp: * cedet/tests/testtemplates.cpp: * cedet/tests/testusing.cpp: * cedet/tests/scopetest.cpp: * cedet/tests/scopetest.java: Files deleted. * cedet/tests/test.make: * cedet/tests/test.c: * cedet/tests/testjavacomp.java: * cedet/tests/testspp.c: * cedet/tests/testsppreplace.c: * cedet/tests/testsppreplaced.c: * cedet/tests/testsubclass.cpp: * cedet/tests/testsubclass.hh: * cedet/tests/testtypedefs.cpp: * cedet/tests/testvarnames.c: * cedet/tests/test.el: * cedet/tests/testdoublens.cpp: * cedet/tests/testdoublens.hpp: Add copyright header. * cedet/semantic-tests.el (semanticdb-test-gnu-global): Remove reference to deleted files. 2010-03-30 Juri Linkov <juri@jurta.org> * occur-testsuite.el (occur-tests): Add tests for context lines. 2010-03-23 Juri Linkov <juri@jurta.org> * occur-testsuite.el: New file. 2010-03-10 Chong Yidong <cyd@stupidchicken.com> * Branch for 23.2. 2010-02-19 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Added new tests. (icalendar-testsuite--test-diarytime-to-isotime): Added another testcase. (icalendar-testsuite--test-convert-ordinary-to-ical): New. (icalendar-testsuite--test-convert-weekly-to-ical): New. (icalendar-testsuite--test-convert-yearly-to-ical): New. (icalendar-testsuite--test-convert-block-to-ical): New. (icalendar-testsuite--test-convert-cyclic-to-ical): New. (icalendar-testsuite--test-convert-anniversary-to-ical): New. 2010-01-18 Juanma Barranquero <lekktu@gmail.com> * cedet/semantic-tests.el (semanticdb-test-gnu-global) (semantic-lex-test-full-depth, semantic-symref-test-count-hits-in-tag): Fix typos in docstrings and error messages. (semanticdb-ebrowse-run-tests): Fix typos in error messages. 2010-01-14 Juanma Barranquero <lekktu@gmail.com> * cedet/cedet-utests.el (cedet-utest-log-shutdown, pulse-test): * cedet/semantic-ia-utest.el (semantic-ia-utest-error-log-list) (semantic-ia-utest-buffer-refs): Fix typos in docstrings. 2009-12-18 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Added icalendar-testsuite--test-parse-vtimezone. (icalendar-testsuite--test-parse-vtimezone): New. (icalendar-testsuite--do-test-cycle): Doc changes. (icalendar-testsuite--run-real-world-tests): Removed trailing whitespace -- see change of icalendar--add-diary-entry in icalendar.el. (icalendar-testsuite--run-cycle-tests): Re-enabled all tests. 2009-09-30 Glenn Morris <rgm@gnu.org> * cedet/semantic-utest-c.el: Relicense under GPLv3+. 2009-06-26 Eric Ludlam <zappo@gnu.org> * cedet/*: New unit tests, from CEDET repository. 2009-06-26 Chong Yidong <cyd@stupidchicken.com> * redisplay-testsuite.el: New file. 2009-06-21 Chong Yidong <cyd@stupidchicken.com> * Branch for 23.1. 2009-01-25 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Added icalendar-testsuite--test-diarytime-to-isotime. (icalendar-testsuite--test-parse-summary-and-rest): Adjusted to recent icalendar fixes. (icalendar-testsuite--test-diarytime-to-isotime): New. (icalendar-testsuite--test-create-uid): Adjusted to recent icalendar changes. 2008-11-30 Shigeru Fukaya <shigeru.fukaya@gmail.com> * bytecomp-testsuite.el: New file. 2008-10-31 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Added `icalendar-testsuite--test-create-uid'. (icalendar-testsuite--test-create-uid): New. 2008-06-14 Ulf Jasper <ulf.jasper@web.de> * newsticker-testsuite.el: New file. 2008-05-24 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add icalendar-testsuite--test-datestring-to-isodate, icalendar-testsuite--test-datetime-to-diary-date, and icalendar-testsuite--test-calendar-style. (icalendar-testsuite--test-format-ical-event): (icalendar-testsuite--test-parse-summary-and-rest): Doc fix. Remove european-calendar-style. (icalendar-testsuite--get-ical-event): Doc fix. (icalendar-testsuite--test-first-weekday-of-year): (icalendar-testsuite--run-cycle-tests): Add doc string. (icalendar-testsuite--test-datestring-to-isodate): (icalendar-testsuite--test-datetime-to-diary-date): (icalendar-testsuite--test-calendar-style): New functions. (icalendar-testsuite--test-export): Handle iso date style. New arg INPUT-ISO. Use calendar-date-style. (icalendar-testsuite--test-import): Handle iso date style. New arg EXPECTED-ISO. Use calendar-date-style. (icalendar-testsuite--test-cycle): Handle iso date style. (icalendar-testsuite--run-import-tests): (icalendar-testsuite--run-export-tests): (icalendar-testsuite--run-real-world-tests): Add iso style tests. 2008-02-29 Glenn Morris <rgm@gnu.org> * README: New file. 2008-02-29 Ulf Jasper <ulf.jasper@web.de> * icalendar-testsuite.el: New file. ;; Local Variables: ;; coding: utf-8 ;; add-log-time-zone-rule: t ;; End: Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. ;;; arch-tag: 6f0d1c86-c141-46da-b387-cf17e38c7bf7