pmaohj

@pmaohj@emacs.ch

Started with Emacs 18 in the early 90s.
#lookmode #orgnoter

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pmaohj, to emacs

(defun pdf-view-scroll-down--mark-top (down-or-previous-page &rest args)
"display tooltip at former top of display after scrolling down"
(let* ((win (window-inside-pixel-edges))
(win-height (- (nth 3 win) (nth 1 win)))
(image-height (cdr (pdf-view-image-size t)))
(image-top (window-vscroll nil t)))
(apply down-or-previous-page args)
(if (> image-top 0)
(pdf-util-tooltip-arrow (- image-top 30))
(pdf-util-tooltip-arrow image-height))))

(advice-add 'pdf-view-scroll-down-or-previous-page :around #'pdf-view-scroll-down--mark-top)

(defun pdf-view-scroll-up--mark-bottom (up-or-next-page &rest args)
"display tooltip at former bottom of display after scrolling up"
(let* ((win (window-inside-pixel-edges))
(win-height (- (nth 3 win) (nth 1 win)))
(image-height (cdr (pdf-view-image-size t)))
(image-top (window-vscroll nil t))
(old-bottom (+ image-top win-height)))
(apply up-or-next-page args)
(if (< old-bottom image-height)
(pdf-util-tooltip-arrow old-bottom
(pdf-util-tooltip-arrow 0))))

(advice-add 'pdf-view-scroll-up-or-next-page :around #'pdf-view-scroll-up--mark-bottom)

pmaohj, to random

What's the best thing you learned at this year? I'm still sorting through my notes, so I don't have an answer yet.

Many thanks to the organizers and speakers!

ajft, to macos
@ajft@aus.social avatar

Seeking any hints from people, since upgrading to emacs29, a few times a week my emacs stops accepting keyboard inputs just clicks at me. the Mouse still works, so I can open a new frame, close the old frame, then continue working, but I'd love to know what magic key combo I'm doing to make it stop and preferrably, what magic combo to hit to make it work again

pmaohj,

@loke @ajft Use C-h l to view lossage, otherwise most of what you see is the invocation of view-lossage!

  • ;; self-insert-command
    l ;; self-insert-command
    o ;; self-insert-command
    a ;; self-insert-command
    <backspace> ;; delete-backward-char
    s ;; self-insert-command
    s ;; self-insert-command
    a ;; self-insert-command
    g ;; self-insert-command
    e ;; self-insert-command
    ` ;; self-insert-command
    ! ;; self-insert-command
    M-x ;; execute-extended-command
    v ;; self-insert-command
    i i ;; self-insert-command
    e e ;; self-insert-command
    w ;; self-insert-command
    SPC ;; minibuffer-complete-word
    l ;; self-insert-command
    o ;; self-insert-command
    s ;; self-insert-command
    s ;; self-insert-command
    <tab> ;; minibuffer-complete
    <return> ;; icomplete-ret
masukomi, to emacs
@masukomi@connectified.com avatar

A ⚠️ icon appeared in my when i opened a file with a conflict.

I clicked it out of curiousity and ... wow. I didn't know this was here

(still newb. so much to learn)

pmaohj,

@masukomi Have you tried ?

pmaohj,

@masukomi I alternate between magit-blame and vc-annotate. They seem to have orthogonal functionality. My ability to do CLI git is abysmal -- I can't remember any of the options or their correct order. makes that a non-problem. The ability to line-by-line commits within hunks in magit is very useful. I have no idea how one would do that efficiently on the command line.

happy emacsing!

pmaohj, to emacs

has some looming problems related to keeping up with newer versions of Org-mode and would benefit from more eyeballs and brains on those problems.

Current development is focused on Emacs 28.2/Org 9.5.5, but with the impending release of Emacs 29.1/Org 9.6.6, we need to deal with changes that affect Org-Noter. If you know how to properly time Emacs processes or if you have a deep understanding of the changes coming in Org 9.7, please get in touch with us via the issues links below:

https://github.com/org-noter/org-noter/issues/29: I've noticed that Emacs 29.1/Org 9.6.6 is not as snappy with note navigation as 28.2/9.55. We have timing code incorporated into tests/Notes.org for tests/MobyDick.pdf. There is a lot of weirdness there. Expertise is welcomed.

https://github.com/org-noter/org-noter/issues/48: It was recently announced that the "internal structure of Org parse tree has been changed." https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/etc/ORG-NEWS?id=5a3224a32524da23f41d39b833612e81e0e8acc9. We've already heard from one user (@brab) that Org-Noter doesn't start cleanly with 28.2/9.7. Again, expertise is welcomed.

mairin, to random

what is the point of version control that is so hard to use it's like you dont even have version control at all?

stares at git

pmaohj,

@mykhaylo @joncruz @mairin @Precz @edsuom I second this opinion. I was baffled by git until I started using . Now anything is possible. https://magit.vc/

ms, to random
@ms@emacs.ch avatar

I wrote down almost everything I know about notmuch:
https://michal.sapka.me/2023/notmuch/

pmaohj,

@ms thanks for that. I've been meaning to switch over to using notmuch, and your notes will definitely help.

My personal roadblock is my inability to make it work with MIME types, despite some solution-hunting.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • anitta
  • Durango
  • everett
  • ethstaker
  • cisconetworking
  • Leos
  • provamag3
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • lostlight
  • All magazines