summaryrefslogtreecommitdiff
path: root/lisp/textmodes/page.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem with (narrow-to-page 1) with point at point-maxLars Ingebrigtsen2022-04-221-5/+12
| | | | | * lisp/textmodes/page.el (forward-page): Make this work more consistently if point is on bol (bug#20663).
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* ; Remove some useless commentsStefan Kangas2021-04-161-2/+0
|
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Split up and add tests for two page.el functionsSimen Heggestøyl2019-06-231-25/+34
| | | | | | | | | | | | * lisp/textmodes/page.el (page--count-lines-page): New function extracted from `count-lines-page'. (count-lines-page): Extract main logic into `page--count-lines-page'. (page--what-page); New function extracted from `what-page'. (what-page): Extract main logic into `page--what-page'. * test/lisp/textmodes/page-tests.el (page-tests-count-lines-page) (page-tests-what-page): New tests for `page--count-lines-page' and `page--what-page'. (Bug#36009)
* Fig grammar of count-lines-pagePaul Eggert2019-06-091-1/+3
| | | | | * lisp/textmodes/page.el (count-lines-page): Say "Page has 1 line", not "Page has 1 lines" (Bug#35981).
* Use lexical-binding in page.el and add testsSimen Heggestøyl2019-06-011-3/+2
| | | | | | | * lisp/textmodes/page.el: Use lexical-binding. (forward-page): Replace `(if x nil y)' with `(unless x y)'. * test/lisp/textmodes/page-tests.el: New file with tests for page.el.
* Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-251-0/+1
| | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+0
| | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | Run admin/update-copyright.
* Fix "Beginning of buffer" error in forward-pageLeo Liu2016-04-071-6/+7
| | | | | * lisp/textmodes/page.el (forward-page): Check before move to prevent "Beginning of buffer" error.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-091-1/+1
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Merge from emacs-23; up to 2010-06-09T17:54:28Z!albinus@detlef.Glenn Morris2011-04-221-3/+3
|\
| * Fix for what-page (Bug#6825).Chong Yidong2011-04-101-3/+3
| | | | | | | | | | * textmodes/page.el (what-page): Use line-number-at-pos to calculate line number.
* | Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
| |
* | Nuke arch-tags.Glenn Morris2011-01-151-1/+0
| |
* | Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\|
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|/
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (what-page): Make sure we don't inf-loop ifStefan Monnier2009-09-161-0/+2
| | | | page-delimiter matches the empty string.
* (what-page): Don't move to beginning of line.Stefan Monnier2009-09-151-2/+1
| | | | See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-091-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* (narrow-to-page): Exclude _entire_ multi-line delimiter from the regionEli Zaretskii2005-09-101-1/+1
| | | | narrowed to.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Keyword added and FSF specified as Maintainer.Pavel Janík2001-08-061-0/+1
|
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-1/+1
|
* (narrow-to-page): Check whether forward-pageKarl Heuer1997-10-161-3/+7
| | | | actually set the match data.
* (narrow-to-page): With negative arg, move back one extraRichard M. Stallman1996-11-061-1/+10
| | | | page unless we start right after a page delimiter.
* Update FSF's address.Erik Naggum1996-01-141-2/+3
|
* (forward-page): Simplify how we avoid getting stuck when moving backwards.Richard M. Stallman1996-01-121-12/+10
|
* (forward-page): If we find a match that ends where weRichard M. Stallman1994-09-151-3/+12
| | | | started searching, look for another one.