Hello, omar.anto...@gmail.com (Omar Antolín) writes:
> In a nutshell, I propose that ", /, = and ~ be assigned to the syntax class > "paired delimiter", which is $. (This would allow electric-pair-mode to work > with them.) > > The definition of org-mode as a derived mode contains the following lines: > > (modify-syntax-entry ?@ "w") > (modify-syntax-entry ?\" "\"") > (modify-syntax-entry ?\\ "_") > (modify-syntax-entry ?~ "_") > > What is the rationale behind the choices for ~ and "? It feels to me > like both should be assigned class "paired delimiters" (i.e., class > $). I would also expect / and = to be paired delimiters, but maybe I'm > missing some subtlety. What about file:~/todo.org and \(a=b\)? I don't think we can assure ~, /, and = are always paired. Also, what is wrong with " belonging to string quote class? Regards, -- Nicolas Goaziou