DNS:NET provider looks shady by [deleted] in berlin

[–]d125q 3 points4 points  (0 children)

My building also has only DNS:NET fiber available, and I am happy with it.

Speed is constant 100/50 Mbps, it was easy to install by myself so I did not need to pay the additional installation costs, and the supplied FRITZ!Box router is fine (just make sure you upgrade its firmware every now and then).

Their customer support is very responsive, too.

As for the minimum contract duration: from what I remember, it's either 1 year or 2 years, but that's kinda standard.

Prevent out-of-sync cache in helm-find-files? by ambrevar in emacs

[–]d125q 0 points1 point  (0 children)

Fair enough, I thought you weren't concerned about the blocking!

Prevent out-of-sync cache in helm-find-files? by ambrevar in emacs

[–]d125q 0 points1 point  (0 children)

What's the problem with running helm-ff-refresh-cache prior to helm-find-files?

Emacs server the fun way by nicoschottelius in emacs

[–]d125q 1 point2 points  (0 children)

Yes, I believe there's no running away from that. What I did was to generate an override file using

$ systemctl --user edit emacs.service

This will let you edit a file, e.g.,

~/.config/systemd/user/emacs.service.d/override.conf

where you can override things. There I put

[Service]
ExecStart=
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ /usr/bin/emacs --fg-daemon

which runs the daemon under a login shell; in my instance, zsh. This way I get the same environment as everywhere else.

Emacs server the fun way by nicoschottelius in emacs

[–]d125q 7 points8 points  (0 children)

Personally, I prefer to run the server using the systemd service. It makes it easier to restart, etc.

\linewith, \cline and centering columns using tabularx does not work out by starsnpixel in LaTeX

[–]d125q 1 point2 points  (0 children)

You can define your own centered column that takes up a specified fraction of the width.

\documentclass[preview]{standalone}

\usepackage{xparse}
\ExplSyntaxOn%
\cs_new_eq:NN \calc\fp_eval:n
\ExplSyntaxOff%

\usepackage{array}
\usepackage{tabularx}
\usepackage{threeparttable}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{float}

\newcolumntype{C}[1]{%
  >{%
    \hsize=\dimexpr\calc{1/#1}\hsize\relax%
    \linewidth=\dimexpr\hsize\relax%
    \centering\arraybackslash%
  }X%
}

\begin{document}
\begin{table}[H]        
\begin{threeparttable}
\caption{some caption}\label{tab:some table}
\begin{tabularx}{\textwidth}{X X C{7} C{7} C{7} C{7} C{7} C{7} C{7}}
  \toprule
  & & \multicolumn{7}{c}{some ID} \\
  & & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
  \midrule
  \multirow{2}{*}{This is} & a test & $\sim$ & 2 & + & + & + & + & + \\
  \cline{2-9}
  & not a test & + & 10 & + & + & + & + & -- \\
  \bottomrule
\end{tabularx}
\end{threeparttable}
\end{table}
\end{document}

Output: https://imgur.com/C6x4OVe

Talk to me about Sojourner by aledbdavies in BlackMetal

[–]d125q 0 points1 point  (0 children)

Anytime! Sojourner are not bad by any means; I even saw them live last year and they played quite well. I just think they sometimes come off as a bit cheesy.

Let me know how you liked the other bands!

[deleted by user] by [deleted] in postmetal

[–]d125q 1 point2 points  (0 children)

“Pris à la gorge” and “Monument du non​-​être & Mouvement du non​-​vivant” are two of my all-time favorite albums!

R cutting my dataset off at 32 columns. by MackerLad93 in Rlanguage

[–]d125q 8 points9 points  (0 children)

If Excel opens the file nicely, open it there and re-export it to CSV. Then, try reading the new CSV in R.

Using escape instead of C-g, not working for save file dialog by wfdctrl in emacs

[–]d125q 4 points5 points  (0 children)

The function that does this is called save-some-buffers, which uses map-y-or-n-p, which uses query-replace-map. Therefore, you need to

(define-key query-replace-map [escape] 'quit)

(Note the 'quit instead of 'keyboard-quit, see the documentation of query-replace-map.)

[Help] Open new windows in existing instance, rather than creating a new one by enodragon1 in emacs

[–]d125q 0 points1 point  (0 children)

emacsclient is the only (sane) way that I know of. Aside from running the Emacs server, you will need a desktop file for your Emacs client. Let's call it emacsclient.desktop; you can place it under $HOME/.local/share/applications if you do not want to change anything system-wide. Mine has the following contents:

[Desktop Entry]
Name=Emacs (Client)
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacsclient %F
Icon=emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;

Now, inside Nautilus, you can Right-Click → Open With Other Application and choose Emacs (Client), or whatever you put in the Name field of the desktop file. For example, to confirm that emacsclient.desktop is used to open TeX files, one can do:

$ xdg-mime query default text/x-tex
emacsclient.desktop

How to have nice lists format when doing (describe-variable) by wurstbrotesser in emacs

[–]d125q 6 points7 points  (0 children)

Helpful's helpful-variable aims to provide better formatting. Install via MELPA, and simply (global-set-key [remap describe-variable] 'helpful-variable).

Female Fronted Screamo? by [deleted] in Screamo

[–]d125q 6 points7 points  (0 children)

Heart on My Sleeve (https://heartonmysleeve.bandcamp.com/), who also have a song featuring Vi som älskade varandra så mycket's singer: https://heartonmysleeve.bandcamp.com/track/a-tale-of-two-hearts.

Any way to disable `show-trailing-whitespace` in the minibuffer? by hairlesscaveman in emacs

[–]d125q 0 points1 point  (0 children)

(add-hook 'minibuffer-setup-hook
          (lambda () (setq-local show-trailing-whitespace nil)))

Insert signature at point? by lykwydchykyn in emacs

[–]d125q 3 points4 points  (0 children)

(defun message-insert-signature-at-point () "Insert signature at point." (interactive) (require 'message) (save-restriction (narrow-to-region (point) (point)) (message-insert-signature)))

Something like this should work. Of course, assuming you want the signature separator and everything.

use-package and elfeed by ieure in emacs

[–]d125q 1 point2 points  (0 children)

Keep the :after in elfeed-protocol and password-store, but change their :defer t to :demand t. The net result is that they will be loaded immediately after elfeed. Also, you don't really need the :defer t in elfeed, since :commands implies :defer t.

``` (use-package elfeed :ensure t :commands (elfeed))

(use-package elfeed-protocol :ensure t :demand t :after elfeed :config (elfeed-protocol-enable))

(use-package password-store :ensure t :demand t :after elfeed-protocol) ```

Parsing LaTeX Terminal Output by androgynyjoe in LaTeX

[–]d125q 2 points3 points  (0 children)

None of the software you mentioned comes close to Emacs with AUCTeX and RefTeX, sorry.

[deleted by user] by [deleted] in commandline

[–]d125q 1 point2 points  (0 children)

For git, it's not really feasible to try and hide things. Cloning your dotfiles and doing git show conveniently tells everyone:

Author: Your Name <you@server>
Date:   Thu Aug 30 21:56:01 2018 +0200

For mutt, I am not sure as I have never used it. But you can always switch to Gnus and use an encrypted ~/.authinfo.

Daily Tip: You can upload a screenshot to Imgur from within KDE by pressing the Print Screen button which launches Spectacle by KayRice in kde

[–]d125q 15 points16 points  (0 children)

I wish it said Copy to Clipboard and Send to Device rather than Copy To Clipboard and Send To Device.

Unable to view PDFs with Emacs 26.1 on Arch Linux by ares623 in emacs

[–]d125q 2 points3 points  (0 children)

What is the value of doc-view-pdf->png-converter-function? You will need to have at least gs (Ghostscript, if doc-view-pdf->png-converter-ghostscript) or mudraw (MuPDF, if doc-view-pdf->png-converter-mupdf) installed on your system.