summaryrefslogtreecommitdiff
path: root/lisp/pixel-scroll.el
Commit message (Collapse)AuthorAgeFilesLines
* Improve pixel-scroll-modeTak Kunihiro2017-10-271-53/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scroll vertically by number of pixels returned by 'frame-char-height' with or without horizontally scrolled. (Bug#28922) * lisp/pixel-scroll.el (pixel-resolution-fine-flag): When t, scroll by number of pixels returned by 'frame-char-height'. (pixel-scroll-up): Scroll by 'frame-char-height'. Fix algorithm to move cursor to avoid unexpected jump. (pixel-scroll-down): Scroll by 'frame-char-height'. (pixel-bob-at-top-p): Consider number of pixels that is about to scroll. (pixel-posn-y-at-point): Consider existence of an overlay string. Return nil when horizontally scrolled. (pixel-point-at-top-p): Consider number of pixels that is about to scroll. Use different algorithm when horizontally scrolled. (pixel-point-at-bottom-p): Consider number of pixels that is about to scroll. Return nil when horizontally scrolled. (pixel-scroll-pixel-down): Move cursor when horizontally scrolled. (pixel--whistlestop-line-up): Change cosmetics and move cursor when horizontally scrolled. (pixel-line-height): Call 'pixel-visual-line-height' instead of 'line-pixel-height'. (pixel-visual-line-height): New function to return height in pixels of text line where cursor is with or without horizontally scrolled, considering response of display engine. (pixel-visible-pos-in-window): New function to return position of a char shown on text line where cursor is on screen with or without horizontally scrolled.
* 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.
* New minor mode 'pixel-scroll-mode'Tak Kunihiro2017-05-131-0/+250
* lisp/pixel-scroll.el: New file. * etc/NEWS: Mention pixel-scroll-mode.