Comments (3)
from subed.
thanks for taking a look. unfortunately i'm more subtitler than programmer. my emacs debugging mostly amounts to enabling edebug-defun and hitting space bar and looking on.
seems like its in subed-srt--sort, but not the santitize or validate functions it runs, or in subed-save-excursion. the latter i struggled to take a look at w my beginner's skills. if i swapped it out for a vanilla save-excursion, point would be at beginning of buffer after save.
thanks anyway, and again for the package.
from subed.
a workaround to run recenter-top-bottom after saving, only when in subed mode:
(setq-default subed-save-buffer-advice nil)
(add-hook 'subed-mode-hook (lambda () (setq-local subed-save-buffer-advice t)))
(defadvice save-buffer (after recenter activate)
(when (equal subed-save-buffer-advice t)
(recenter-top-bottom)))
from subed.
Related Issues (20)
- Default faces clash with different theme styles HOT 1
- How to insert a new subtitle that begin at the actual timestamp of mpv? HOT 5
- can we use this for transcription of audio files? HOT 3
- Adopt REUSE standard for copyright and licensing HOT 6
- Debugger entered--Lisp error: (void-variable subed--init-alist) HOT 6
- Describe workflow for converting a series of lines like "2:34 foo bar" to subtitles? HOT 1
- subed fails to open the corresponding video file automatically HOT 8
- Define `subed-loop-seconds-before` and `subed-loop-seconds-after` in millisecond? HOT 2
- org-links to subtitles by number HOT 3
- adjust time of current subtitle end and next subtitle start? HOT 41
- saving subed buffer removes flyspell overlays HOT 5
- typo in subed.el (subed-prepare-for-save) HOT 4
- mark ring is emptied on save HOT 2
- How to read a property from mpv HOT 4
- How to use IINA with subed? HOT 3
- (error "Found invalid start time: \"00:00:00.000 --> 00:00:03.400\"") HOT 3
- How to use subed-scale-subtitles-forward? HOT 2
- The looping over period of timestamp do not change instantly after merge with the next subtitle. HOT 3
- subed-mpv--socket: Couldn’t make directory /scp:edrx@linode:/tmpsubed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subed.