From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24709: 26.0.50; Support for Markdown in electric-quote-mode Date: Sun, 16 Oct 2016 19:19:12 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476638552 25770 195.159.176.226 (16 Oct 2016 17:22:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2016 17:22:32 +0000 (UTC) To: 24709@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 16 19:22:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvp8W-0004PZ-Li for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2016 19:22:12 +0200 Original-Received: from localhost ([::1]:57204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvp8Y-0008Ri-M9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2016 13:22:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvp8P-0008RS-Q3 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvp8M-0006od-Kf for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57301) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvp8M-0006oZ-Gs for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bvp8M-0006Cp-CR for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Oct 2016 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147663851323837 (code B ref -1); Sun, 16 Oct 2016 17:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Oct 2016 17:21:53 +0000 Original-Received: from localhost ([127.0.0.1]:35258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvp8D-0006CP-2O for submit@debbugs.gnu.org; Sun, 16 Oct 2016 13:21:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvp8B-0006CB-Og for submit@debbugs.gnu.org; Sun, 16 Oct 2016 13:21:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvp85-0006it-LI for submit@debbugs.gnu.org; Sun, 16 Oct 2016 13:21:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvp85-0006in-IA for submit@debbugs.gnu.org; Sun, 16 Oct 2016 13:21:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvp84-0008RF-C7 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:21:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvp81-0006hR-5t for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:21:44 -0400 Original-Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:35120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvp80-0006gu-RM for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 13:21:41 -0400 Original-Received: by mail-lf0-x241.google.com with SMTP id x79so22402833lff.2 for ; Sun, 16 Oct 2016 10:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=BE31gAWQrrXgbHDEI1eb20VlUEyPknSww4mS+b/P+QQ=; b=x0ekkxu8WFE26RzuSwlYqNF0DdoYEGdGoJ+PWn7LW8ny0oRaqewKQKU5y80YeaYTQ5 1rfCEGNloEm7Um5bBdyBHQw3kNy7zYxyw3nRNkHasLuXc3Zojl8XLFtHHmAsSz8QAmzv POgZURvacSgXAifvsIDHOh1HU9RzVJSH22uO7gOGyo2I3HrX3MtG5zKUZGo5MW/ggk5B zRkYK4EftKCfU9Et6k07fDqEe2miPufGTQXwA3+xtVEtNglB7hdQ0kAkz27exVZRaXjt /P8ljl/Y6NBxK9GDdb2SYVfOhE9WLknOoUd4Bb+3GfSzP+ioDiXLgO0k0SkvoEZLdND3 umaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=BE31gAWQrrXgbHDEI1eb20VlUEyPknSww4mS+b/P+QQ=; b=M/syvisFaQfOzedkfFNOVWAi7Uvp6R9aLjN0cmPsKCG2Z2+5VsjnQ6Cye1/UxD0RZQ CV1PWz2qLDPBsjjhwESh7BCAXN8AMbtwQLVv9txQshwgvxCIAsAqbkE4VaXbSKlfY8j5 JWb58YIslwqB+bVuU0oDgqETkyBfWKPmHYzpSSw5kQ3oAysogaLo3L8YkXsNYWdm0FiU XT129P9lMbzhb3hmjp/Gnifq+8K5E2F1Sb5FA3+Zl6NrSRwLKEWc1+LUxkNwwbwIi/V5 2ofH34ZWZ3ZcGH3hxQpYzV3zbZSCq12oxyqZ6w3hytEvlbKwZ6FNEuDW7OWzlt01efHW GRTA== X-Gm-Message-State: AA6/9RkbdO/wO6a+jNX2y3+phCmal3s0f4aYa9lTFjMV4AUnX6eosFEaAw+zj41pEH9AMA== X-Received: by 10.194.96.211 with SMTP id du19mr8798778wjb.62.1476638498673; Sun, 16 Oct 2016 10:21:38 -0700 (PDT) Original-Received: from p (46.128.198.151.dynamic.cablesurf.de. [46.128.198.151]) by smtp.gmail.com with ESMTPSA id r1sm44402252wjc.43.2016.10.16.10.21.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Oct 2016 10:21:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124556 Archived-At: When editing a Markdown document with electric-quote-mode enabled, the experience is not optimal because ` (backtick) in Markdown is a syntax element (for introducing code spans and blocks), but is converted by electric-quote-mode. Also ` and ' inside code spans and blocks continue to insert curly quotes where they shouldn't. I propose the following: - Provide an alternative behavior of electric-quote-mode where ` doesn't trigger replacement and ' can insert left or right curly quotes, depending on whether it follows a space or similar (newline, beginning of buffer, opening parenthesis). - Provide a way to disable electric-quote-mode for certain regions, effectively the inverse of the existing electric-quote-string etc. This could be in the form of syntactic elements or text properties. In GNU Emacs 26.0.50.4 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version 10.12 (Build 16A323)) of 2016-10-16 built on p Repository revision: cf566b46a6cf85c6d54d0b0db80e32ed6ae8d1ca Windowing system distributor 'Apple', version 10.3.1504 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-modules --enable-checking --enable-check-lisp-object-type --without-xml2' Configured features: RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 206733 10576) (symbols 48 20333 0) (miscs 40 43 151) (strings 32 18363 6592) (string-bytes 1 593794) (vectors 16 35285) (vector-slots 8 676063 5565) (floats 8 183 55) (intervals 56 207 0) (buffers 976 11))