From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: [BUG] org-insert-structure-template on region selected text will delete some characters Date: Thu, 31 May 2018 07:49:39 +0800 Message-ID: <87603466wc.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOBR2-0002Hg-KH for emacs-orgmode@gnu.org; Wed, 30 May 2018 20:27:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOBQz-0000BD-Fh for emacs-orgmode@gnu.org; Wed, 30 May 2018 20:27:20 -0400 Received: from [218.75.119.140] (port=46566 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOBQz-0000As-3e for emacs-orgmode@gnu.org; Wed, 30 May 2018 20:27:17 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode For example: Region select on: ENTRYPOINT ["/usr/sbin/nginx"] When I press =[C-c C-,]= on this region, the region content will be wrapped with src block, but it deleted the last "]". This is a bug I think. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3