<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pdf-tools.git/lisp/pdf-view.el, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/'/>
<entry>
<title>feat: integrate pdf-view-roll-minor-mode with existing features</title>
<updated>2025-12-31T17:31:15+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-31T08:18:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=2603233d2b3814c75c762783327f1fd633f82549'/>
<id>2603233d2b3814c75c762783327f1fd633f82549</id>
<content type='text'>
Update all pdf-tools features to work correctly when
pdf-view-roll-minor-mode is active:

- pdf-isearch: Search across all displayed pages simultaneously
- pdf-links: Link selection works with multiple visible pages
- pdf-annot: Annotations work on correct page, add pdf-annot-edit
  command for avy-style annotation editing
- pdf-sync: SyncTeX jumps work with continuous scroll mode
- pdf-view: Display and navigation functions updated for multi-page
- pdf-util: Coordinate transformation updates for visible pages
- pdf-cache: Simplify prefetch (remove timer indirection)
- pdf-occur: Minor compatibility updates

The mode is experimental. Some features may not interact perfectly
with roll mode. Enable with M-x pdf-view-roll-minor-mode.

API changes:
- pdf-view-active-region now includes page information
- isearch results include page data for multi-page display

Co-authored-by: Daniel Nicolai &lt;dalanicolai@gmail.com&gt;
Co-authored-by: Rahguzar &lt;aikrahguzar@zohomail.eu&gt;
Co-authored-by: Ihor Radchenko &lt;yantar92@gmail.com&gt;
Co-authored-by: NightMachinery &lt;feraidoonmehri@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update all pdf-tools features to work correctly when
pdf-view-roll-minor-mode is active:

- pdf-isearch: Search across all displayed pages simultaneously
- pdf-links: Link selection works with multiple visible pages
- pdf-annot: Annotations work on correct page, add pdf-annot-edit
  command for avy-style annotation editing
- pdf-sync: SyncTeX jumps work with continuous scroll mode
- pdf-view: Display and navigation functions updated for multi-page
- pdf-util: Coordinate transformation updates for visible pages
- pdf-cache: Simplify prefetch (remove timer indirection)
- pdf-occur: Minor compatibility updates

The mode is experimental. Some features may not interact perfectly
with roll mode. Enable with M-x pdf-view-roll-minor-mode.

API changes:
- pdf-view-active-region now includes page information
- isearch results include page data for multi-page display

Co-authored-by: Daniel Nicolai &lt;dalanicolai@gmail.com&gt;
Co-authored-by: Rahguzar &lt;aikrahguzar@zohomail.eu&gt;
Co-authored-by: Ihor Radchenko &lt;yantar92@gmail.com&gt;
Co-authored-by: NightMachinery &lt;feraidoonmehri@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(pdf-view): replace obsolete registerv-make with cl-defstruct</title>
<updated>2025-12-31T03:02:12+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T15:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=804d183c59c7804f94fab652658fa7d4c4fd6ca0'/>
<id>804d183c59c7804f94fab652658fa7d4c4fd6ca0</id>
<content type='text'>
The registerv-make function was deprecated in Emacs 27.1. Replace it
with a proper cl-defstruct (pdf-view-register) and cl-defmethod
implementations for register-val-jump-to, register-val-describe,
and register-val-insert.

Add tests for the register API used by pdf-view:
- pdf-view-registerv-make-creates-register: verifies register creation
- pdf-view-register-val-insert: verifies insert method works
- pdf-view-position-to-register-stores-position: verifies store/retrieve

Fixes: #333
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The registerv-make function was deprecated in Emacs 27.1. Replace it
with a proper cl-defstruct (pdf-view-register) and cl-defmethod
implementations for register-val-jump-to, register-val-describe,
and register-val-insert.

Add tests for the register API used by pdf-view:
- pdf-view-registerv-make-creates-register: verifies register creation
- pdf-view-register-val-insert: verifies insert method works
- pdf-view-position-to-register-stores-position: verifies store/retrieve

Fixes: #333
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(pdf-view): fix docstring warnings for native-comp</title>
<updated>2025-12-30T15:42:42+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T15:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=2e4b7bc3512017309c47e9db2ed419a872a79c28'/>
<id>2e4b7bc3512017309c47e9db2ed419a872a79c28</id>
<content type='text'>
Reformat docstrings in pdf-view--bounding-box-to-slice,
pdf-document-common-bounding-box, and pdf-view-set-slice-common-bounding-box
to be under 80 characters wide and use proper quoting conventions.

Ref #333
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reformat docstrings in pdf-view--bounding-box-to-slice,
pdf-document-common-bounding-box, and pdf-view-set-slice-common-bounding-box
to be under 80 characters wide and use proper quoting conventions.

Ref #333
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: wrap next-line-or-page, previous-line-or-page boundary calls in ignore-errors</title>
<updated>2025-12-30T12:44:17+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T12:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=415ff1e524e12d816d715b54a4eaeac907c7de5b'/>
<id>415ff1e524e12d816d715b54a4eaeac907c7de5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: support pdf-buffer bookmarks in workspace managers</title>
<updated>2025-12-29T05:02:55+00:00</updated>
<author>
<name>Rahguzar</name>
<email>aikrahguzar@zohomail.eu</email>
</author>
<published>2023-01-22T21:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=56645d7fdd9c5908645e385854766eac774d16f3'/>
<id>56645d7fdd9c5908645e385854766eac774d16f3</id>
<content type='text'>
Don't assume that there is a window displaying the buffer when
`bookmark-jump` is called. Instead of `bookmark-after-jump-hook` use
`window-buffer-change-functions` so that the buffer is actually
displayed when the code assuming a window is run.

If `window-buffer-change-functions` isn't bound fallback to
`bookmark-after-jump-hook`. The window argument for the inserted hook
is optional to accommodate both cases.

Use `window-buffer-change-functions` only if buffer has not window.
Save the same bookmark if it wasn't restored

Closes: #188
Author: @aikrahguzar
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't assume that there is a window displaying the buffer when
`bookmark-jump` is called. Instead of `bookmark-after-jump-hook` use
`window-buffer-change-functions` so that the buffer is actually
displayed when the code assuming a window is run.

If `window-buffer-change-functions` isn't bound fallback to
`bookmark-after-jump-hook`. The window argument for the inserted hook
is optional to accommodate both cases.

Use `window-buffer-change-functions` only if buffer has not window.
Save the same bookmark if it wasn't restored

Closes: #188
Author: @aikrahguzar
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(midnight-mode): add gamma correction and fix RGB bugs</title>
<updated>2025-12-29T03:46:31+00:00</updated>
<author>
<name>Ziv Scully</name>
<email>zivscully@gmail.com</email>
</author>
<published>2025-12-29T03:46:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=8623dc3e38a2952fa87c1f6972b88d58e22f4c99'/>
<id>8623dc3e38a2952fa87c1f6972b88d58e22f4c99</id>
<content type='text'>
Add gamma correction options for better contrast control in midnight mode:
- pdf-view-midnight-gamma: nonlinearly scale lightness (default 1.0)
- pdf-view-midnight-gamma-before-invert: control gamma application order

Bug fixes:
- Fix RGB normalization (255 not 256) - was causing incorrect background color
- Add missing black→foreground fast path (comment existed but code was missing)

Closes: #329
Author: @vizziv</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add gamma correction options for better contrast control in midnight mode:
- pdf-view-midnight-gamma: nonlinearly scale lightness (default 1.0)
- pdf-view-midnight-gamma-before-invert: control gamma application order

Bug fixes:
- Fix RGB normalization (255 not 256) - was causing incorrect background color
- Add missing black→foreground fast path (comment existed but code was missing)

Closes: #329
Author: @vizziv</pre>
</div>
</content>
</entry>
<entry>
<title>feat(pdf-view): enable horizontal mouse wheel scrolling</title>
<updated>2025-12-29T03:44:57+00:00</updated>
<author>
<name>aikrahguzar</name>
<email>88336724+aikrahguzar@users.noreply.github.com</email>
</author>
<published>2025-12-29T03:44:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=0cca3b6925da8e1e128259f6c63250cc99c96cb2'/>
<id>0cca3b6925da8e1e128259f6c63250cc99c96cb2</id>
<content type='text'>
Add support for horizontal scrolling using mouse wheel by setting
mwheel-scroll-left/right-function to image-mode's scroll functions.

Includes boundp checks for compatibility with older Emacs versions.

Closes: #234
Author: @aikrahguzar</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for horizontal scrolling using mouse wheel by setting
mwheel-scroll-left/right-function to image-mode's scroll functions.

Includes boundp checks for compatibility with older Emacs versions.

Closes: #234
Author: @aikrahguzar</pre>
</div>
</content>
</entry>
<entry>
<title>feat(pdf-view): enable scroll-other-window support</title>
<updated>2025-12-29T03:41:49+00:00</updated>
<author>
<name>Ken Huang</name>
<email>whatacold@gmail.com</email>
</author>
<published>2025-12-29T03:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=1ad2b7511a98d77f9d1ad8d25be8dd4c9f48f97a'/>
<id>1ad2b7511a98d77f9d1ad8d25be8dd4c9f48f97a</id>
<content type='text'>
Add remappings for scroll-up-command and scroll-down-command so that
scroll-other-window and scroll-other-window-down work with pdf-view buffers.

This addresses a commonly requested feature:
- https://github.com/politza/pdf-tools/issues/55
- https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01416.html
- https://www.reddit.com/r/emacs/comments/10pkhko/

Closes: #280
Author: @whatacold</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add remappings for scroll-up-command and scroll-down-command so that
scroll-other-window and scroll-other-window-down work with pdf-view buffers.

This addresses a commonly requested feature:
- https://github.com/politza/pdf-tools/issues/55
- https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01416.html
- https://www.reddit.com/r/emacs/comments/10pkhko/

Closes: #280
Author: @whatacold</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add option to display page labels in mode line</title>
<updated>2025-12-28T17:58:37+00:00</updated>
<author>
<name>Rafael Beirigo</name>
<email>816499+rafaelbeirigo@users.noreply.github.com</email>
</author>
<published>2025-12-28T17:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=1cde7b311d55b778bb4c6886993b8e57a7e6b105'/>
<id>1cde7b311d55b778bb4c6886993b8e57a7e6b105</id>
<content type='text'>
Add two new customization options:
- `pdf-view-mode-line-position-prefix`: customize the page prefix (default: "P")
- `pdf-view-mode-line-position-use-labels`: show page labels instead of numbers

When enabled, displays PDF page labels (Roman numerals, section
numbers, etc.) in the mode line with safe fallback to numeric pages.

Closes: #331
Author: @rafaelbeirigo</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two new customization options:
- `pdf-view-mode-line-position-prefix`: customize the page prefix (default: "P")
- `pdf-view-mode-line-position-use-labels`: show page labels instead of numbers

When enabled, displays PDF page labels (Roman numerals, section
numbers, etc.) in the mode line with safe fallback to numeric pages.

Closes: #331
Author: @rafaelbeirigo</pre>
</div>
</content>
</entry>
<entry>
<title>feat: set slice to common bounding box (closes #325)</title>
<updated>2025-12-28T17:07:37+00:00</updated>
<author>
<name>Tamas K. Papp</name>
<email>tkpapp@gmail.com</email>
</author>
<published>2025-12-28T17:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=22a80257aa34a91d209f5ca9ae4dfcdd13ca8c2e'/>
<id>22a80257aa34a91d209f5ca9ae4dfcdd13ca8c2e</id>
<content type='text'>
Fixes #325.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #325.</pre>
</div>
</content>
</entry>
</feed>
