Skip to main content
8 events
when toggle format what by license comment
Jul 16, 2018 at 3:28 comment added HelmetFace I'm using latex-mode, i.e. the one that labels your buffers as "LaTeX/MPS". My next step is to actually integrate my function better with this mode, and get spacemacs to recognize .lytex files with the latex/build command bound to SPC-m-b and to do the same with the TeX-view command bound to SPC-m-v(right now it throws an error because it's looking for "<file>.lytex.pdf" instead of just "<file>.pdf". Once I figure that out, I'll have things all set up how I want to for type-setting documents with musical notation! If I can't figure this out in a couple days, I'll post another question.
Jul 16, 2018 at 3:10 comment added Compro Prasad What major mode are you using for latex?
Jul 16, 2018 at 2:25 vote accept HelmetFace
Jul 16, 2018 at 2:16 answer added lawlist timeline score: 3
Jul 16, 2018 at 1:26 comment added HelmetFace start-process did exactly what I needed, thanks! Please add as an answer so I can mark this question as answered. Also, figured out the major-mode key binding.
Jul 15, 2018 at 23:57 comment added lawlist See also filter functions to help gather only the output desired from an ongoing process: gnu.org/software/emacs/manual/html_node/elisp/…
Jul 15, 2018 at 22:52 comment added lawlist I don't have the ability to test this function and I don't use evil/spacemacs, but you may wish to consider using start-process with a set-process-sentinel and use buffer-string or buffer-substring to gather some/everything when the process ends successfully. start-process has an optional argument to generate a buffer, and you can use display-buffer or other function to pop it up wherever/however you see fit. For long command lines, you may wish to consider using something like (start-process "my-process" "*OUTPUT-BUFFER*" "/bin/bash" "-c" "LONG-COMMAND-LINE-WITH-ARGS").
Jul 15, 2018 at 22:13 history asked HelmetFace CC BY-SA 4.0